[MINI2440] Updated defconfig to add (optional) packages
[openwrt/mini2440.git] / package / openssl / patches / 180-fix_link_segfault.patch
blob66d37cbe802481747ab62febb100e6608326e26c
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} )
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 \