kernel: fq_codel: dont reinit flow state
[openwrt.git] / package / ppp / patches / 300-filter-pcap-includes-lib.patch
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 <jow@openwrt.org>
7
8 --- a/pppd/Makefile.linux
9 +++ b/pppd/Makefile.linux
10 @@ -170,8 +170,8 @@ endif
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