diff options
author | Thomas Dinges <blender@dingto.org> | 2009-12-30 22:55:41 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-12-30 22:55:41 +0300 |
commit | 9bf3ea58d295e62c0d8d67cf98da3ee89c66aaea (patch) | |
tree | a4721561304747fe6d224413ad162fddf9e3b586 /source/blender/editors/object/SConscript | |
parent | c72089df504432c95c62af4f08fb36d2d87b49da (diff) |
Scons missed include for pthread.
Diffstat (limited to 'source/blender/editors/object/SConscript')
-rw-r--r-- | source/blender/editors/object/SConscript | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/object/SConscript b/source/blender/editors/object/SConscript index fd799ef5fa7..0a94de255cb 100644 --- a/source/blender/editors/object/SConscript +++ b/source/blender/editors/object/SConscript @@ -10,6 +10,13 @@ incs += ' ../../render/extern/include ../../gpu' # for object_bake.c defs = [] +if env['OURPLATFORM'] == 'linux2': + cflags='-pthread' + incs += ' ../../../extern/binreloc/include' + +if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): + incs += ' ' + env['BF_PTHREADS_INC'] + if not env['WITH_BF_PYTHON']: defs.append('DISABLE_PYTHON') |