diff -ur openssl-1.0.2e~/Makefile.org openssl-1.0.2e/Makefile.org
--- openssl-1.0.2e~/Makefile.org 2015-12-03 15:04:23.000000000 +0100
+++ openssl-1.0.2e/Makefile.org 2015-12-31 19:26:56.574207607 +0100
@@ -350,7 +350,7 @@
build-shared: do_$(SHLIB_TARGET) link-shared
do_$(SHLIB_TARGET):
- @ set -e; libs='-L. $(SHLIBDEPS)'; for i in $(SHLIBDIRS); do \
+ @ set -e; libs='-L. -R$(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR) $(SHLIBDEPS)'; for i in $(SHLIBDIRS); do \
if [ "$$i" = "ssl" -a -n "$(LIBKRB5)" ]; then \
libs="$(LIBKRB5) $$libs"; \
fi; \
@@ -372,7 +372,7 @@
echo 'Description: OpenSSL cryptography library'; \
echo 'Version: '$(VERSION); \
echo 'Requires: '; \
- echo 'Libs: -L$${libdir} -lcrypto'; \
+ echo 'Libs: -L$${libdir} -R$${libdir} -lcrypto'; \
echo 'Libs.private: $(EX_LIBS)'; \
echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libcrypto.pc
@@ -386,7 +386,7 @@
echo 'Description: Secure Sockets Layer and cryptography libraries'; \
echo 'Version: '$(VERSION); \
echo 'Requires.private: libcrypto'; \
- echo 'Libs: -L$${libdir} -lssl'; \
+ echo 'Libs: -L$${libdir} -R$${libdir} -lssl'; \
echo 'Libs.private: $(EX_LIBS)'; \
echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc
Monday, January 4. 2016
Store runpath for libcrypto.so in libssl.so for openssl
Trackbacks
Trackback specific URI for this entry