aboutsummaryrefslogtreecommitdiffstats
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:31:51 +0100
commite6479c76ca6655fdd374d9724401c0912b417b3c (patch)
tree31cb667df108fd0863d35502745046fa1ac3531f
parent4ee356686f72ff849f6f3d58562224ace732b1a6 (diff)
downloadopenssl-e6479c76ca6655fdd374d9724401c0912b417b3c.tar.gz
Have the .pc files depend on each other rather than duplicating the
various link settings. PR#3332
-rw-r--r--Makefile.org11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile.org b/Makefile.org
index e7f6e5beb9..590da9752e 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -467,11 +467,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
@@ -484,10 +484,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."