[package] update ppp to v2.4.4 (#5102)
[openwrt.git] / package / ppp / patches / 300-filter-pcap-includes-lib.patch
1 diff -Naur ppp-2.4.4.orig/pppd/Makefile.linux ppp-2.4.4/pppd/Makefile.linux
2 --- ppp-2.4.4.orig/pppd/Makefile.linux 2009-05-07 22:25:24.000000000 -0400
3 +++ ppp-2.4.4/pppd/Makefile.linux 2009-05-07 22:28:44.000000000 -0400
4 @@ -170,8 +170,8 @@
5
6 ifdef FILTER
7 ifneq ($(wildcard /usr/include/pcap-bpf.h),)
8 -LIBS += -lpcap
9 -CFLAGS += -DPPP_FILTER
10 +LIBS += -lpcap -L$(STAGING_DIR)/usr/lib
11 +CFLAGS += -DPPP_FILTER -I$(STAGING_DIR)/usr/include
12 endif
13 endif
14
This page took 0.052704 seconds and 5 git commands to generate.