Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-10-19 10:12:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-10-19 10:12:11 +0400
commitc6d1ac3af8af4c074228b74157be9d9addf16ea7 (patch)
treeb858ed9fad5bf63df52bcb3b3ab27b2ddb284b98 /source/creator/SConscript
parent42e287af1cc3ed2f37630f6f62c82c2d8ccc66b3 (diff)
only set the SDL audio driver to alsa when not running in background mode and when blender is compiled with SDL.
Diffstat (limited to 'source/creator/SConscript')
-rw-r--r--source/creator/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/creator/SConscript b/source/creator/SConscript
index a4c218f89d6..15f73040f4b 100644
--- a/source/creator/SConscript
+++ b/source/creator/SConscript
@@ -22,4 +22,7 @@ if env['WITH_BF_BINRELOC']==1:
if env['WITH_BF_OPENEXR']==1:
defs.append('WITH_OPENEXR')
+if not env['WITH_BF_SDL']:
+ defs.append('DISABLE_SDL')
+
env.BlenderLib ( libname = 'blender_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 1 )