[package] openssl: add a patch to fix link segfault when using a glibc/eglibc based...
[openwrt/svn-archive/archive.git] / package / openssl / patches / 180-fix_link_segfault.patch
1 --- a/Makefile.shared
2 +++ b/Makefile.shared
3 @@ -93,7 +93,6 @@ LINK_APP= \
4 LDCMD="$${LDCMD:-$(CC)}"; LDFLAGS="$${LDFLAGS:-$(CFLAGS)}"; \
5 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`; \
6 LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
7 - LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
8 $${LDCMD} $${LDFLAGS} -o $${APPNAME:=$(APPNAME)} $(OBJECTS) $${LIBDEPS} )
9
10 LINK_SO= \
11 @@ -103,7 +102,6 @@ LINK_SO= \
12 SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
13 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`; \
14 LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
15 - LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
16 $${SHAREDCMD} $${SHAREDFLAGS} \
17 -o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \
18 $$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \