summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-05-12 23:31:51 +0100
committerMatt Caswell <matt@openssl.org>2014-05-12 23:33:35 +0100
commit4aebb2c8b80edc2de7b76cfa082bb45cd84d7645 (patch)
tree742b843a12154da5a145dd64c5546c8c86b1ee61 /Makefile.org
parent1f5bce2dcebbb5059c2a5ecf4037432e8041cc07 (diff)
Have the .pc files depend on each other rather than duplicating the
various link settings. PR#3332
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile.org b/Makefile.org
index e4d603661a..9041e274d3 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -375,11 +375,11 @@ libssl.pc: Makefile
echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \
echo 'includedir=$${prefix}/include'; \
echo ''; \
- echo 'Name: OpenSSL'; \
+ echo 'Name: OpenSSL-libssl'; \
echo 'Description: Secure Sockets Layer and cryptography libraries'; \
echo 'Version: '$(VERSION); \
- echo 'Requires: '; \
- echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
+ echo 'Requires.private: libcrypto'; \
+ echo 'Libs: -L$${libdir} -lssl'; \
echo 'Libs.private: $(EX_LIBS)'; \
echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc
@@ -392,10 +392,7 @@ openssl.pc: Makefile
echo 'Name: OpenSSL'; \
echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \
echo 'Version: '$(VERSION); \
- echo 'Requires: '; \
- echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
- echo 'Libs.private: $(EX_LIBS)'; \
- echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc
+ echo 'Requires: libssl libcrypto' ) > openssl.pc
Makefile: Makefile.org Configure config
@echo "Makefile is older than Makefile.org, Configure or config."