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

123456789101112131415
  1. Index: ppp-2.4.3/pppd/Makefile.linux
  2. ===================================================================
  3. --- ppp-2.4.3.orig/pppd/Makefile.linux 2007-06-04 13:22:12.463960472 +0200
  4. +++ ppp-2.4.3/pppd/Makefile.linux 2007-06-04 13:22:14.133706632 +0200
  5. @@ -172,8 +172,8 @@
  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