1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-19 11:25:41 +03:00
openwrt-xburst/package/ppp/patches/300-filter-pcap-includes-lib.patch
hauke 641c4de73d [ppp] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 10:49:21 +00:00

14 lines
298 B
Diff

--- 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