Port kmod-tun to the new module layout
[openwrt.git] / package / ppp / patches / 300-filter-pcap-includes-lib.patch
1 diff -urN ppp-2.4.3.orig/pppd/Makefile.linux ppp-2.4.3/pppd/Makefile.linux
2 --- ppp-2.4.3.orig/pppd/Makefile.linux 2006-02-05 20:13:06.000000000 +0100
3 +++ ppp-2.4.3/pppd/Makefile.linux 2006-02-05 20:24:22.000000000 +0100
4 @@ -172,8 +172,8 @@
5
6 ifdef FILTER
7 ifneq ($(wildcard /usr/include/pcap-bpf.h),)
8 -LIBS += -lpcap
9 -CFLAGS += -DPPP_FILTER
10 +LIBS += -lpcap -L$(STAGING_DIR)/usr/lib
11 +CFLAGS += -DPPP_FILTER -I$(STAGING_DIR)/usr/include
12 endif
13 endif
14
This page took 0.056347 seconds and 5 git commands to generate.