300-filter-pcap-includes-lib.patch 298 B

12345678910111213
  1. --- a/pppd/Makefile.linux
  2. +++ b/pppd/Makefile.linux
  3. @@ -170,8 +170,8 @@ endif
  4. ifdef FILTER
  5. ifneq ($(wildcard /usr/include/pcap-bpf.h),)
  6. -LIBS += -lpcap
  7. -CFLAGS += -DPPP_FILTER
  8. +LIBS += -lpcap -L$(STAGING_DIR)/usr/lib
  9. +CFLAGS += -DPPP_FILTER -I$(STAGING_DIR)/usr/include
  10. endif
  11. endif