fix sstrip compile on mac os x
[openwrt.git] / package / ppp / patches / 300-filter-pcap-includes-lib.patch
1 Index: ppp-2.4.3/pppd/Makefile.linux
2 ===================================================================
3 --- ppp-2.4.3.orig/pppd/Makefile.linux 2007-06-04 13:22:12.463960472 +0200
4 +++ ppp-2.4.3/pppd/Makefile.linux 2007-06-04 13:22:14.133706632 +0200
5 @@ -172,8 +172,8 @@
6
7 ifdef FILTER
8 ifneq ($(wildcard /usr/include/pcap-bpf.h),)
9 -LIBS += -lpcap
10 -CFLAGS += -DPPP_FILTER
11 +LIBS += -lpcap -L$(STAGING_DIR)/usr/lib
12 +CFLAGS += -DPPP_FILTER -I$(STAGING_DIR)/usr/include
13 endif
14 endif
15
This page took 0.040109 seconds and 5 git commands to generate.