2009-02-03 00:13:17 +02:00
|
|
|
--- a/Makefile.shared
|
|
|
|
+++ b/Makefile.shared
|
2011-11-03 22:02:42 +02:00
|
|
|
@@ -95,7 +95,6 @@ LINK_APP= \
|
2009-02-03 00:13:17 +02:00
|
|
|
LDCMD="$${LDCMD:-$(CC)}"; LDFLAGS="$${LDFLAGS:-$(CFLAGS)}"; \
|
2011-11-03 22:02:42 +02:00
|
|
|
LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | uniq`; \
|
2009-02-03 00:13:17 +02:00
|
|
|
LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
|
|
|
|
- LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
|
|
|
|
$${LDCMD} $${LDFLAGS} -o $${APPNAME:=$(APPNAME)} $(OBJECTS) $${LIBDEPS} )
|
|
|
|
|
|
|
|
LINK_SO= \
|
2011-11-03 22:02:42 +02:00
|
|
|
@@ -105,7 +104,6 @@ LINK_SO= \
|
2009-02-03 00:13:17 +02:00
|
|
|
SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
|
2011-11-03 22:02:42 +02:00
|
|
|
LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | uniq`; \
|
2009-02-03 00:13:17 +02:00
|
|
|
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 \
|