From 9bf3ea58d295e62c0d8d67cf98da3ee89c66aaea Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Wed, 30 Dec 2009 19:55:41 +0000 Subject: [PATCH] Scons missed include for pthread. --- source/blender/editors/object/SConscript | 7 +++++++ 1 file changed, 7 insertions(+) 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')