summaryrefslogtreecommitdiff
path: root/drivers/SCsub
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2017-12-26 20:36:18 +0100
committerK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2018-02-15 07:34:11 -0800
commit8699f643c9b02bc804024f0b67dea80467bef91d (patch)
tree4203fe34021f2f7dda8a6235e5a748a5fd2dfa0a /drivers/SCsub
parentc0dce6e4800c1b0e7f6124020afaf6a8edbee1e5 (diff)
Disable GLES builders and source from server compilation
Diffstat (limited to 'drivers/SCsub')
-rw-r--r--drivers/SCsub7
1 files changed, 5 insertions, 2 deletions
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")