summaryrefslogtreecommitdiffstats
path: root/package/libpcap/patches/101-cross-compile-fix.patch
blob: e73b4c9c24f1d0e342099cfc7c1b1cce8b0fa733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: libpcap-0.9.4/Makefile.in
===================================================================
--- libpcap-0.9.4.orig/Makefile.in	2007-06-04 13:22:03.614305824 +0200
+++ libpcap-0.9.4/Makefile.in	2007-06-04 13:22:03.799277704 +0200
@@ -117,7 +117,7 @@
 
 libpcap.a: $(OBJ)
 	@rm -f $@
-	ar rc $@ $(OBJ) $(LIBS)
+	$(AR) rc $@ $(OBJ) $(LIBS)
 	$(RANLIB) $@
 
 $(SHAREDLIB): $(OBJ_PIC)