From e48fcc9e85a7596444ac96411600a4a482bfde8d Mon Sep 17 00:00:00 2001 From: riccardom Date: Fri, 5 Feb 2010 14:24:07 +0000 Subject: [PATCH] Dont include lua cflags unconditionally especially since we don't compile lua stuff. --- desmume/src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desmume/src/Makefile.am b/desmume/src/Makefile.am index b5a955a39..5ec22b21c 100644 --- a/desmume/src/Makefile.am +++ b/desmume/src/Makefile.am @@ -1,6 +1,6 @@ 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 if HAVE_GDB_STUB @@ -69,6 +69,7 @@ if HAVE_LIBAGG libdesmume_a_SOURCES += aggdraw.cpp endif if HAVE_LUA +AM_CPPFLAGS += $(LUA_CFLAGS) libdesmume_a_SOURCES += lua-engine.cpp endif if HAVE_GDB_STUB