Merge commit 'oe/org.openembedded.dev' into opendreambox
[openembedded.git] / recipes / wireless-tools / wireless-tools / shared_lib_ldflags.patch
1 diff -urN wireless_tools.29.orig/Makefile wireless_tools.29/Makefile
2 --- wireless_tools.29.orig/Makefile     2007-09-17 23:56:46.000000000 +0000
3 +++ wireless_tools.29/Makefile  2009-04-02 09:22:14.000000000 +0000
4 @@ -145,7 +145,7 @@
5  
6  # Compilation of the dynamic library
7  $(DYNAMIC): $(OBJS:.o=.so)
8 -       $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
9 +       $(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
10  
11  # Compilation of the static library
12  $(STATIC): $(OBJS:.o=.so)