summaryrefslogtreecommitdiffstats
path: root/package/ppp/patches/300-filter-pcap-includes-lib.patch
blob: dc6b2d3f43e6b3ce77c3a5c61fc8c4676bc59c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Naur ppp-2.4.4.orig/pppd/Makefile.linux ppp-2.4.4/pppd/Makefile.linux
--- ppp-2.4.4.orig/pppd/Makefile.linux	2009-05-07 22:25:24.000000000 -0400
+++ ppp-2.4.4/pppd/Makefile.linux	2009-05-07 22:28:44.000000000 -0400
@@ -170,8 +170,8 @@
 
 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