diff --git a/makefile b/makefile index 5930f74f..8c06ee1f 100644 --- a/makefile +++ b/makefile @@ -845,7 +845,8 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin) $(info using macOS dynamic libpcap: $(call find_include,pcap)) endif endif - else + else # pcap desired but pcap.h not found + NEEDED_PKGS += DPKG_PCAP # On non-Linux platforms, we'll still try to provide deprecated support for libpcap in /usr/local INCPATHSAVE := ${INCPATH} ifeq (,$(findstring Linux,$(OSTYPE)))