mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 15:27:46 +00:00
MAKEFILE: Fix Linux build when pcap.h isn't available but SDL is. Fix for Issue #97
This commit is contained in:
parent
e1b0a416a9
commit
8b9e33c3a3
2
makefile
2
makefile
@ -400,9 +400,9 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||
endif
|
||||
else
|
||||
# On non-Linux platforms, we'll still try to provide deprecated support for libpcap in /usr/local
|
||||
INCPATHSAVE := $(INCPATH)
|
||||
ifeq (,$(findstring Linux,$(OSTYPE)))
|
||||
# Look for package built from tcpdump.org sources with default install target (or cygwin winpcap)
|
||||
INCPATHSAVE := $(INCPATH)
|
||||
INCPATH += /usr/local/include
|
||||
PCAP_H_FOUND = $(call find_include,pcap)
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user