[package] ppp: populate gateway of default route with peer address (#6259)
[openwrt/svn-archive/archive.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