diff options
Diffstat (limited to 'intern/SoundSystem/SConscript')
-rw-r--r-- | intern/SoundSystem/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/SoundSystem/SConscript b/intern/SoundSystem/SConscript index 54fc13293eb..2be20a24042 100644 --- a/intern/SoundSystem/SConscript +++ b/intern/SoundSystem/SConscript @@ -10,7 +10,11 @@ if env['WITH_BF_OPENAL']: sources += env.Glob('openal/*.cpp') + env.Glob('sdl/*.cpp') incs += ' ' + env['BF_OPENAL_INC'] incs += ' ' + env['BF_SDL_INC'] + defs = 'USE_OPENAL' else: defs = 'NO_SOUND' +if not env['WITH_BF_SDL']: + defs += ' DISABLE_SDL' + env.BlenderLib ('bf_soundsystem', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [25,135] ) |