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
path: root/intern
diff options
context:
space:
mode:
Diffstat (limited to 'intern')
-rw-r--r--intern/SoundSystem/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/intern/SoundSystem/SConscript b/intern/SoundSystem/SConscript
index ce9ab8c1882..d6d87213962 100644
--- a/intern/SoundSystem/SConscript
+++ b/intern/SoundSystem/SConscript
@@ -13,7 +13,6 @@ Import ('extra_includes')
soundsys_env.Append (CCFLAGS = cflags)
soundsys_env.Append (CXXFLAGS = cxxflags)
-soundsys_env.Append (CPPDEFINES = defines)
source_files = ['dummy/SND_DummyDevice.cpp',
'intern/SND_AudioDevice.cpp',
@@ -39,7 +38,9 @@ if use_openal == 'true':
source_files += ['openal/SND_OpenALDevice.cpp',
'openal/pthread_cancel.cpp']
if sys.platform=='win32':
- cflags += ' /D_LIB'
+ defines += ['_LIB']
+ soundsys_env.Append(CPPDEFINES = defines)
+
if use_fmod == 'true':
source_files += ['fmod/SND_FmodDevice.cpp']