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:
authorNathan Letwory <nathan@letworyinteractive.com>2006-02-05 04:09:40 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-02-05 04:09:40 +0300
commit3d3f5d1640d5eca8d144d0f348eb08c25298039e (patch)
treee5687179e2de90ea1e9b51d824daa7a07bb8d684 /intern/SoundSystem
parenteb5705374eba3a60c0b9dbaf76d658e559d709a5 (diff)
+ WITH_BF_OPENAL=0 should now actually not need OpenAL stuff
* BF_PROFILE_FLAGS to list form
Diffstat (limited to 'intern/SoundSystem')
-rw-r--r--intern/SoundSystem/SConscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/intern/SoundSystem/SConscript b/intern/SoundSystem/SConscript
index d06b28e7c2d..4089453b7f3 100644
--- a/intern/SoundSystem/SConscript
+++ b/intern/SoundSystem/SConscript
@@ -6,12 +6,11 @@ sources = env.Glob('dummy/*.cpp') + env.Glob('intern/*.cpp')
incs = '. intern ../moto/include ../string dummy openal sdl'
defs = ''
-if env['WITH_BF_OPENAL'] == 1:
+if env['WITH_BF_OPENAL']:
sources += env.Glob('openal/*.cpp') + env.Glob('sdl/*.cpp')
incs += ' ' + env['BF_OPENAL_INC']
incs += ' ' + env['BF_SDL_INC']
-
-if env['WITH_BF_OPENAL'] == 0:
+else:
defs = 'NO_SOUND'
env.BlenderLib ('blender_sndsys', sources, Split(incs), Split(defs), libtype=['core','player2'], priority = [20,10] )