aboutsummaryrefslogtreecommitdiffstats
path: root/main/wireless-tools/wireless-tools-29-asneeded.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-06 09:04:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-06 09:04:49 +0000
commita64778074ee689ba86d0309aeff1e8617d753a41 (patch)
treec1934fa5a7b2ff779b08910ffccd1a25356add0a /main/wireless-tools/wireless-tools-29-asneeded.patch
parentff2b34b53a4ff1467ccf7792262317ae8c42a39e (diff)
downloadaports-a64778074ee689ba86d0309aeff1e8617d753a41.tar.bz2
aports-a64778074ee689ba86d0309aeff1e8617d753a41.tar.xz
main/wireless-tools: moved from testing
Diffstat (limited to 'main/wireless-tools/wireless-tools-29-asneeded.patch')
-rw-r--r--main/wireless-tools/wireless-tools-29-asneeded.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/wireless-tools/wireless-tools-29-asneeded.patch b/main/wireless-tools/wireless-tools-29-asneeded.patch
new file mode 100644
index 0000000000..04f2d869b6
--- /dev/null
+++ b/main/wireless-tools/wireless-tools-29-asneeded.patch
@@ -0,0 +1,13 @@
+Index: wireless_tools.29/Makefile
+===================================================================
+--- wireless_tools.29.orig/Makefile
++++ wireless_tools.29/Makefile
+@@ -145,7 +145,7 @@ wireless.h:
+
+ # Compilation of the dynamic library
+ $(DYNAMIC): $(OBJS:.o=.so)
+- $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
++ $(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc
+
+ # Compilation of the static library
+ $(STATIC): $(OBJS:.o=.so)