jansson: moved to github
[openwrt.org/packages.git] / libs / 001-config.mk.in.patch
1
2
3
4
5
6
7
8
9
10
11
12
--- a/config.mk.in
+++ b/config.mk.in
@@ -175,7 +175,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
 
 
comments