summaryrefslogtreecommitdiff
path: root/package/ppp/patches/300-filter-pcap-includes-lib.patch
blob: fa8b616de06c02d4cfc04a2e2b186304b7bc981c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/pppd/Makefile.linux
+++ b/pppd/Makefile.linux
@@ -170,8 +170,8 @@ endif
 
 ifdef FILTER
 ifneq ($(wildcard /usr/include/pcap-bpf.h),)
-LIBS    += -lpcap
-CFLAGS  += -DPPP_FILTER
+LIBS    += -lpcap -L$(STAGING_DIR)/usr/lib
+CFLAGS  += -DPPP_FILTER -I$(STAGING_DIR)/usr/include
 endif
 endif