tn3399_openwrt/package/ppp/patches/300-filter-pcap-includes-lib.patch
Hauke Mehrtens d21f38210a refresh patches
SVN-Revision: 15958
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