summaryrefslogtreecommitdiff
path: root/package/libpcap/patches/101-cross-compile-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libpcap/patches/101-cross-compile-fix.patch')
-rw-r--r--package/libpcap/patches/101-cross-compile-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/libpcap/patches/101-cross-compile-fix.patch b/package/libpcap/patches/101-cross-compile-fix.patch
new file mode 100644
index 0000000000..5ba78adaef
--- /dev/null
+++ b/package/libpcap/patches/101-cross-compile-fix.patch
@@ -0,0 +1,12 @@
+diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
+--- libpcap-0.9.4.orig/Makefile.in 2006-02-05 16:57:16.000000000 +0100
++++ libpcap-0.9.4/Makefile.in 2006-02-05 16:57:03.000000000 +0100
+@@ -117,7 +117,7 @@
+
+ libpcap.a: $(OBJ)
+ @rm -f $@
+- ar rc $@ $(OBJ) $(LIBS)
++ $(AR) rc $@ $(OBJ) $(LIBS)
+ $(RANLIB) $@
+
+ $(SHAREDLIB): $(OBJ_PIC)