Don't #define DATADIR when compiling SQLite as it causes conflicts with some Windows headers (objidl.h:95)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6029 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-09-15 06:06:59 +00:00
parent 2c616f323e
commit 73bd4b81f9
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
if !USE_SYSTEM_SQLITE
AM_CPPFLAGS = $(SDL_CFLAGS) $(WZ_CPPFLAGS)
AM_CPPFLAGS = $(SDL_CFLAGS) $(patsubst -DDATADIR%,,$(WZ_CPPFLAGS))
AM_CFLAGS = $(patsubst -W%,,$(WZ_CFLAGS))
noinst_LIBRARIES = libsqlite3.a