From 8b9e33c3a3231ab6b88578d506d685a478a73e9f Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 16 Jan 2014 06:17:45 -0800 Subject: [PATCH] MAKEFILE: Fix Linux build when pcap.h isn't available but SDL is. Fix for Issue #97 --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index fc66ea8f..69bd9039 100644 --- a/makefile +++ b/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