fixed a breakage introduced by the uclibc-snapshot version
[kvm-coreboot.git] / packages / wireless-tools / ldfix.patch
blob21fc8bb34da26adb58d25286449701cc5b8693c8
1 Index: wireless_tools.28/Makefile
2 ===================================================================
3 --- wireless_tools.28.orig/Makefile 2005-09-02 15:26:05.000000000 -0600
4 +++ wireless_tools.28/Makefile 2006-06-29 16:24:06.000000000 -0600
5 @@ -135,7 +135,7 @@
7 # Compilation of the dynamic library
8 $(DYNAMIC): $(OBJS:.o=.so)
9 - $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
10 + $(CC) -shared -o $@ $(LDFLAGS) -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
12 # Compilation of the static library
13 $(STATIC): $(OBJS:.o=.so)