summaryrefslogtreecommitdiffstats
path: root/package/libpcap/patches/101-cross-compile-fix.patch
blob: 5ba78adaef6f9c380cc20834f3fe0473b1d09775 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)