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
1 changed files with 1 additions and 1 deletions
2
makefile
2
makefile
|
@ -400,9 +400,9 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
# On non-Linux platforms, we'll still try to provide deprecated support for libpcap in /usr/local
|
# On non-Linux platforms, we'll still try to provide deprecated support for libpcap in /usr/local
|
||||||
|
INCPATHSAVE := $(INCPATH)
|
||||||
ifeq (,$(findstring Linux,$(OSTYPE)))
|
ifeq (,$(findstring Linux,$(OSTYPE)))
|
||||||
# Look for package built from tcpdump.org sources with default install target (or cygwin winpcap)
|
# Look for package built from tcpdump.org sources with default install target (or cygwin winpcap)
|
||||||
INCPATHSAVE := $(INCPATH)
|
|
||||||
INCPATH += /usr/local/include
|
INCPATH += /usr/local/include
|
||||||
PCAP_H_FOUND = $(call find_include,pcap)
|
PCAP_H_FOUND = $(call find_include,pcap)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue