Dont include lua cflags unconditionally especially since

we don't compile lua stuff.
This commit is contained in:
riccardom 2010-02-05 14:24:07 +00:00
parent fdd1c0e6e8
commit e48fcc9e85
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
include $(top_srcdir)/src/desmume.mk include $(top_srcdir)/src/desmume.mk
AM_CPPFLAGS += $(SDL_CFLAGS) $(GTHREAD_CFLAGS) $(X_CFLAGS) $(LUA_CFLAGS) $(ALSA_CFLAGS) $(LIBAGG_CFLAGS) AM_CPPFLAGS += $(SDL_CFLAGS) $(GTHREAD_CFLAGS) $(X_CFLAGS) $(ALSA_CFLAGS) $(LIBAGG_CFLAGS)
EXTRA_DIST = build.bat instruction_tabdef.inc thumb_tabdef.inc fs-linux.cpp fs-windows.cpp EXTRA_DIST = build.bat instruction_tabdef.inc thumb_tabdef.inc fs-linux.cpp fs-windows.cpp
if HAVE_GDB_STUB if HAVE_GDB_STUB
@ -69,6 +69,7 @@ if HAVE_LIBAGG
libdesmume_a_SOURCES += aggdraw.cpp libdesmume_a_SOURCES += aggdraw.cpp
endif endif
if HAVE_LUA if HAVE_LUA
AM_CPPFLAGS += $(LUA_CFLAGS)
libdesmume_a_SOURCES += lua-engine.cpp libdesmume_a_SOURCES += lua-engine.cpp
endif endif
if HAVE_GDB_STUB if HAVE_GDB_STUB