[adm5120] fix support for 2.6.38 kernel
[openwrt.git] / package / ppp / patches / 300-filter-pcap-includes-lib.patch
1 --- a/pppd/Makefile.linux
2 +++ b/pppd/Makefile.linux
3 @@ -170,8 +170,8 @@ endif
4
5 ifdef FILTER
6 ifneq ($(wildcard /usr/include/pcap-bpf.h),)
7 -LIBS += -lpcap
8 -CFLAGS += -DPPP_FILTER
9 +LIBS += -lpcap -L$(STAGING_DIR)/usr/lib
10 +CFLAGS += -DPPP_FILTER -I$(STAGING_DIR)/usr/include
11 endif
12 endif
13
This page took 0.039716 seconds and 5 git commands to generate.