Merge branch 'CentOS7'
This commit is contained in:
+4
-2
@@ -7,10 +7,12 @@ LIBS+=server.a ../libcommon.a ../libturtlegui.a ../libturtlemap.a -lSDL2_net
|
|||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
LIBS+=-lwsock32 -liphlpapi -lmingw32
|
LIBS+=-lwsock32 -liphlpapi -lmingw32
|
||||||
endif
|
endif
|
||||||
LIBS+=-lSDL2main -lSDL2 -llua -lsqlite3
|
LIBS+=-lSDL2main -lSDL2 -lsqlite3
|
||||||
ifeq ($(shell uname), Linux)
|
ifeq ($(shell uname), Linux)
|
||||||
#I don't know what this does, but Ubuntu needs it (dynamic linking for lua)
|
#I don't know what this does, but Ubuntu needs it (dynamic linking for lua)
|
||||||
LIBS+=-ldl
|
LIBS+=/usr/local/lib/liblua.a -ldl
|
||||||
|
else
|
||||||
|
LIBS+=-llua
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#flags
|
#flags
|
||||||
|
|||||||
Reference in New Issue
Block a user