1
0

180-fix_link_segfault.patch 857 B

123456789101112131415161718
  1. --- a/Makefile.shared
  2. +++ b/Makefile.shared
  3. @@ -95,7 +95,6 @@ LINK_APP= \
  4. LDCMD="$${LDCMD:-$(CC)}"; LDFLAGS="$${LDFLAGS:-$(CFLAGS)}"; \
  5. LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | 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. LINK_SO= \
  10. @@ -105,7 +104,6 @@ LINK_SO= \
  11. SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
  12. LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | uniq`; \
  13. LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
  14. - LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
  15. $${SHAREDCMD} $${SHAREDFLAGS} \
  16. -o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \
  17. $$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \