mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
48db59fab7
SVN-Revision: 33657
19 lines
857 B
Diff
19 lines
857 B
Diff
--- a/Makefile.shared
|
|
+++ b/Makefile.shared
|
|
@@ -95,7 +95,6 @@ LINK_APP= \
|
|
LDCMD="$${LDCMD:-$(CC)}"; LDFLAGS="$${LDFLAGS:-$(CFLAGS)}"; \
|
|
LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | uniq`; \
|
|
LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
|
|
- LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
|
|
$${LDCMD} $${LDFLAGS} -o $${APPNAME:=$(APPNAME)} $(OBJECTS) $${LIBDEPS} )
|
|
|
|
LINK_SO= \
|
|
@@ -105,7 +104,6 @@ LINK_SO= \
|
|
SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
|
|
LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | 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 \
|