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

14 lines
389 B
Diff
Raw Normal View History

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)