Fix T46090: Blender game embedded player crash

SCons didn't pass `-DWITH_AUDASPACE` to the compiler, so it skipped the
instantiation of the "aud" Python module. This caused a crash of the BGE,
which did get the `-DWITH_AUDASPACE` directive, and expected that module
to exist.

Reviewed by: lukastoenne
This commit is contained in:
Sybren A. Stüvel 2015-09-17 10:14:08 +02:00
parent 79c668dbec
commit eca704f579

@ -93,8 +93,8 @@ if env['WITH_BF_PYTHON_SAFETY']:
if env['BF_BUILDINFO']:
defs.append('BUILD_DATE')
# Audaspace is always on currently
if env['WITH_BF_AUDASPACE']:
defs += env['BF_AUDASPACE_DEF']
if env['WITH_BF_BULLET']:
defs.append('WITH_BULLET')