openwrt/package/libpcap/patches/101-cross-compile-fix.patch

12 lines
187 B
Diff

--- 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)