only set the SDL audio driver to alsa when not running in background mode and when blender is compiled with SDL.

This commit is contained in:
Campbell Barton
2008-10-19 06:12:11 +00:00
parent 42e287af1c
commit c6d1ac3af8
2 changed files with 16 additions and 6 deletions

View File

@@ -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 )