packages/libs/xmlrpc-c/patches/001-config.mk.in.patch
jow 56c940faf8 [packages] xmlrpc-c: fix autoreconf
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 23:57:03 +00:00

12 lines
380 B
Diff

--- a/config.mk.in
+++ b/config.mk.in
@@ -178,7 +178,7 @@ ifeq ($(patsubst linux-gnu%,linux-gnu,$(
shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN))
shliblefn = $(1:%=%.$(SHLIB_SUFFIX))
# SHLIB_CLIB = -lc
- LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB)
+ LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) $(LDFLAGS)
CFLAGS_SHLIB=-fPIC
endif