summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct2
-rw-r--r--drivers/SCsub7
2 files changed, 6 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index fc0920d552..b8d3427690 100644
--- a/SConstruct
+++ b/SConstruct
@@ -445,7 +445,7 @@ if selected_platform in platform_list:
if not env['verbose']:
methods.no_verbose(sys, env)
- if (True): # FIXME: detect GLES3
+ if (not env["platform"] == "server"): # FIXME: detect GLES3
env.Append( BUILDERS = { 'GLES3_GLSL' : env.Builder(action = methods.build_gles3_headers, suffix = 'glsl.gen.h',src_suffix = '.glsl') } )
scons_cache_path = os.environ.get("SCONS_CACHE")
diff --git a/drivers/SCsub b/drivers/SCsub
index daa5ff623b..fc017f4891 100644
--- a/drivers/SCsub
+++ b/drivers/SCsub
@@ -22,8 +22,11 @@ if env['xaudio2']:
SConscript("xaudio2/SCsub")
# Graphics drivers
-SConscript('gles3/SCsub')
-SConscript('gl_context/SCsub')
+if (env["platform"] != "server"):
+ SConscript('gles3/SCsub')
+ SConscript('gl_context/SCsub')
+else:
+ SConscript('dummy/SCsub')
# Core dependencies
SConscript("png/SCsub")