From d8b7d688425accda8bd4bd8d017c25523f776b22 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 19 Jan 2005 18:23:19 +0000 Subject: [PATCH] Make lua a global library. I'm not sure this is best (PrefsManager needs it), but it's nice to simply be able to define Lua functions anywhere ... (fixes build of some tests) --- stepmania/src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Makefile.am b/stepmania/src/Makefile.am index 3907f19e80..d91541f969 100644 --- a/stepmania/src/Makefile.am +++ b/stepmania/src/Makefile.am @@ -15,6 +15,7 @@ AM_CXXFLAGS += -finline-limit=300 AM_CXXFLAGS += $(XCFLAGS) +LIBS += $(LUA_LIBS) LIBS += -lpthread $(srcdir)/libresample/libresample.a: @@ -315,7 +316,6 @@ main_SOURCES = $(Screens) \ main_LDADD = \ $(AUDIO_LIBS) \ - $(LUA_LIBS) \ $(SDL_LIBS) \ $(XLIBS) \ $(srcdir)/libresample/libresample.a @@ -344,6 +344,7 @@ all_test_SOURCES = \ DateTime.cpp DateTime.h \ PrefsManager.cpp PrefsManager.h \ Preference.cpp Preference.h \ + LuaFunctions.h LuaHelpers.cpp LuaHelpers.h \ RageException.cpp \ RageLog.cpp \ RageThreads.cpp \