fixes for older luabind versions

This commit is contained in:
Enno Rehling 2005-01-27 11:30:21 +00:00
parent 31b609b7b9
commit ac64278080
2 changed files with 6 additions and 2 deletions

View File

@ -44,7 +44,7 @@ if $(HOST) = "hamunaptra" {
} else {
XMLHDRS = /usr/include/libxml2 ;
}
C++FLAGS += -DHAVE_LUABIND_B7 ;
C++FLAGS += -DHAVE_LUABIND_$(LUABIND) ;
rule iconv
{
@ -106,6 +106,10 @@ if ! $(DEBUG) {
DEBUG = 1 ;
}
if $(WITHOUT_LUA) {
ECHO Compiling without LUA ;
}
if $(PROFILE) = 1 {
TARGET_PREFIX = Profile ;
}

View File

@ -44,7 +44,7 @@ iconv $(LUASERVER) ;
libxml2 $(LUASERVER) ;
LINKLIBS on $(LUASERVER) += -lm -ldl -lstdc++ ;
if $(HAVE_LUA) {
if ! $(WITHOUT_LUA) {
SEARCH_SOURCE += [ FDirName $(SUBDIR) lua ] ;
SubDirC++Flags -DHAVE_LUA ;
UsingLua ;