1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-03 21:08:59 +03:00
openwrt-xburst/package/ppp/patches/300-filter-pcap-includes-lib.patch
jow 184fbf8c19 [package] update ppp to v2.4.4 (#5102)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 22:36:38 +00:00

15 lines
461 B
Diff

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