1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 20:12:23 +00:00

makefile: Make sure missing pcap is added to the desired package list

This commit is contained in:
Mark Pizzolato
2022-10-27 02:14:52 -10:00
parent bc893d3023
commit 1ca0b3159e

View File

@@ -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)))