server platform now compiles and run on linux.

Seems to also be able to do exports of some demos I tried.
This commit is contained in:
Fabio Alessandrelli 2017-12-27 01:31:51 +01:00 committed by K. S. Ernest (iFire) Lee
parent 72ef766dfa
commit 6784d743f7
4 changed files with 147 additions and 47 deletions

View file

@ -12,9 +12,6 @@ def get_name():
def can_build():
# Doesn't build against Godot 3.0 for now, disable to avoid confusing users
return False
if (os.name != "posix" or sys.platform == "darwin"):
return False
@ -133,3 +130,4 @@ def configure(env):
env.Append(CPPPATH=['#platform/server'])
env.Append(CPPFLAGS=['-DSERVER_ENABLED', '-DUNIX_ENABLED'])
env.Append(LIBS=['pthread'])
env.Append(LIBS=['dl'])