python3 rebuild
[packages/openssl.git] / openssl-ldflags.patch
1 updated from http://bugs.gentoo.org/181438
2
3 make sure we respect LDFLAGS
4
5 --- openssl-1.0.0/Makefile.org.orig     2010-04-10 11:21:33.852993924 +0200
6 +++ openssl-1.0.0/Makefile.org  2010-04-10 11:22:52.248992248 +0200
7 @@ -189,6 +189,7 @@
8                 MAKEDEPEND='$$$${TOP}/util/domd $$$${TOP} -MD $(MAKEDEPPROG)' \
9                 DEPFLAG='-DOPENSSL_NO_DEPRECATED $(DEPFLAG)'    \
10                 MAKEDEPPROG='$(MAKEDEPPROG)'                    \
11 +               LDFLAGS='$(LDFLAGS)'                            \
12                 SHARED_LDFLAGS='$(SHARED_LDFLAGS)'              \
13                 KRB5_INCLUDES='$(KRB5_INCLUDES)' LIBKRB5='$(LIBKRB5)'   \
14                 ZLIB_INCLUDE='$(ZLIB_INCLUDE)' LIBZLIB='$(LIBZLIB)'     \
15 --- openssl-0.9.8h/Makefile.shared
16 +++ openssl-0.9.8h/Makefile.shared
17 @@ -153,7 +153,7 @@
18         NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
19         SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"
20  
21 -DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)"
22 +DO_GNU_APP=LDFLAGS="$(LDFLAGS) $(CFLAGS) -Wl,-rpath,$(LIBRPATH)"
23  
24  #This is rather special.  It's a special target with which one can link
25  #applications without bothering with any features that have anything to
This page took 0.139569 seconds and 3 git commands to generate.