1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-03 01:25:33 +03:00
openwrt-xburst/package/ppp/patches/300-filter-pcap-includes-lib.patch

14 lines
298 B
Diff
Raw Normal View History

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