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)

This commit is contained in:
Glenn Maynard
2005-01-19 18:23:19 +00:00
parent 41622d238c
commit d8b7d68842
+2 -1
View File
@@ -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 \