Scons missed include for pthread.
authorThomas Dinges <blender@dingto.org>
Wed, 30 Dec 2009 19:55:41 +0000 (19:55 +0000)
committerThomas Dinges <blender@dingto.org>
Wed, 30 Dec 2009 19:55:41 +0000 (19:55 +0000)
source/blender/editors/object/SConscript

index fd799ef5fa7cac2d2d94f86774a6612e3e43d2ad..0a94de255cb416c2733149b31cb199d7cc76a466 100644 (file)
@@ -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')