forked from github/server
fixes for older luabind versions
This commit is contained in:
parent
31b609b7b9
commit
ac64278080
|
@ -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 ;
|
||||
}
|
||||
|
|
|
@ -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 ;
|
||||
|
|
Loading…
Reference in New Issue