summaryrefslogtreecommitdiff
path: root/openwrt/package/libpcap/patches/101-cross-compile-fix.patch
blob: 196ee34eb3a293976bd3d76e33c99b990710477d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- libpcap-0.8.3/Makefile.in.orig	2005-01-17 19:04:41.291056960 -0500
+++ libpcap-0.8.3/Makefile.in	2005-01-17 19:04:47.836061968 -0500
@@ -100,7 +100,7 @@
 
 libpcap.a: $(OBJ)
 	@rm -f $@
-	ar rc $@ $(OBJ) $(LIBS)
+	$(AR) rc $@ $(OBJ) $(LIBS)
 	$(RANLIB) $@
 
 scanner.c: $(srcdir)/scanner.l