]> git.ozlabs.org Git - ppp.git/commitdiff
pppd/Makefile.linux: do not check for bpf header presence on the host (#201)
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 31 Dec 2020 22:44:08 +0000 (23:44 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Dec 2020 22:44:08 +0000 (09:44 +1100)
This makes builds non-deterministic, and doesn't work
when building in sysroot environments (such as yocto).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
pppd/Makefile.linux

index a6348ebf8117b814f16eabd2385d0c555b16068c..15fb8da976a6fc24153da9ce39b423e3113a8664 100644 (file)
@@ -207,11 +207,9 @@ LIBS       += -ldl
 endif
 
 ifdef FILTER
-ifneq ($(wildcard /usr/include/pcap-bpf.h),)
 LIBS    += -lpcap
 CFLAGS  += -DPPP_FILTER
 endif
-endif
 
 ifdef HAVE_INET6
      PPPDSRCS += ipv6cp.c eui64.c