From 1ca0b3159ebed6ce966d749b1a82f95cba044446 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 27 Oct 2022 02:14:52 -1000 Subject: [PATCH] makefile: Make sure missing pcap is added to the desired package list --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)))