From b9a9727689d80a211ae4dac64ff98e001c22b6f0 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 4 Jun 2008 05:28:54 +0000 Subject: [PATCH] Allow USE_LOCAL_HEADERS to work with SDL on Linux builds. Otherwise, cross-compiling doesn't work. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index fe79813d..2b756ea2 100644 --- a/Makefile +++ b/Makefile @@ -296,6 +296,10 @@ ifeq ($(PLATFORM),linux) CLIENT_LDFLAGS += -lrt endif +ifeq ($(USE_LOCAL_HEADERS),1) + BASE_CFLAGS += -I$(SDLHDIR)/include + endif + ifeq ($(ARCH),i386) # linux32 make ... BASE_CFLAGS += -m32