summaryrefslogtreecommitdiffstats
path: root/package/libpcap/patches/101-cross-compile-fix.patch
blob: 2f166c8491ef74c2e822441fb1f564bf1dcd9de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile.in
+++ b/Makefile.in
@@ -119,7 +119,7 @@
 
 libpcap.a: $(OBJ)
 	@rm -f $@
-	ar rc $@ $(OBJ) $(LIBS)
+	$(AR) rc $@ $(OBJ) $(LIBS)
 	$(RANLIB) $@
 
 $(SHAREDLIB): $(OBJ_PIC)