summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/ndiswrapper/files/ndiswrapper-1.56-ldflags.patch')
-rw-r--r--net-wireless/ndiswrapper/files/ndiswrapper-1.56-ldflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-wireless/ndiswrapper/files/ndiswrapper-1.56-ldflags.patch b/net-wireless/ndiswrapper/files/ndiswrapper-1.56-ldflags.patch
new file mode 100644
index 000000000000..d4e78a61b93d
--- /dev/null
+++ b/net-wireless/ndiswrapper/files/ndiswrapper-1.56-ldflags.patch
@@ -0,0 +1,13 @@
+diff --git a/utils/Makefile b/utils/Makefile
+index f1701a6..ca4cefc 100644
+--- a/utils/Makefile
++++ b/utils/Makefile
+@@ -12,7 +12,7 @@ DISTFILES=Makefile ndiswrapper loadndisdriver.c ndiswrapper-buginfo
+ all: loadndisdriver
+
+ loadndisdriver: loadndisdriver.c
+- $(CC) $(CFLAGS) -o $@ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ clean:
+ rm -f *~ *.o loadndisdriver