diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-02-02 22:13:17 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-02-02 22:13:17 +0000 |
commit | 13776922048f6786e00f4c62cb595730f8a00719 (patch) | |
tree | 759029991976ccf4f385e8f4e2184345177d5a6d /package/openssl/patches | |
parent | 44c268c17c2355c0e01078269c5bcf3a788275e8 (diff) | |
download | upstream-13776922048f6786e00f4c62cb595730f8a00719.tar.gz upstream-13776922048f6786e00f4c62cb595730f8a00719.tar.bz2 upstream-13776922048f6786e00f4c62cb595730f8a00719.zip |
[package] openssl: add a patch to fix link segfault when using a glibc/eglibc based toolchain (closes: #4517), thanks to Luigi Mantellini
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14375 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openssl/patches')
-rw-r--r-- | package/openssl/patches/180-fix_link_segfault.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/openssl/patches/180-fix_link_segfault.patch b/package/openssl/patches/180-fix_link_segfault.patch new file mode 100644 index 0000000000..66d37cbe80 --- /dev/null +++ b/package/openssl/patches/180-fix_link_segfault.patch @@ -0,0 +1,18 @@ +--- a/Makefile.shared ++++ b/Makefile.shared +@@ -93,7 +93,6 @@ LINK_APP= \ + LDCMD="$${LDCMD:-$(CC)}"; LDFLAGS="$${LDFLAGS:-$(CFLAGS)}"; \ + LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \ + LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \ +- LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \ + $${LDCMD} $${LDFLAGS} -o $${APPNAME:=$(APPNAME)} $(OBJECTS) $${LIBDEPS} ) + + LINK_SO= \ +@@ -103,7 +102,6 @@ LINK_SO= \ + SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \ + LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \ + LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \ +- LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \ + $${SHAREDCMD} $${SHAREDFLAGS} \ + -o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \ + $$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \ |