Allow USE_LOCAL_HEADERS to work with SDL on Linux builds.

Otherwise, cross-compiling doesn't work.
This commit is contained in:
Ryan C. Gordon 2008-06-04 05:28:54 +00:00
parent 45c18e29b8
commit b9a9727689

View file

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