OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 build: Add required CFLAGS for libpcap
2  
3 This patch adds some flags to required to properly link libpcap within the
4 OpenWrt environment.
5  
6 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7  
8 --- a/pppd/Makefile.linux
9 +++ b/pppd/Makefile.linux
3 office 10 @@ -178,8 +178,8 @@ endif
1 office 11  
12 ifdef FILTER
13 ifneq ($(wildcard /usr/include/pcap-bpf.h),)
14 -LIBS += -lpcap
15 -CFLAGS += -DPPP_FILTER
16 +LIBS += -lpcap -L$(STAGING_DIR)/usr/lib
17 +CFLAGS += -DPPP_FILTER -I$(STAGING_DIR)/usr/include
18 endif
19 endif
20