[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25629] trunk/blender/source/blender/ editors/object/SConscript: Scons missed include for pthread.

Thomas Dinges dingto at gmx.de
Wed Dec 30 20:55:42 CET 2009


Revision: 25629
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25629
Author:   dingto
Date:     2009-12-30 20:55:41 +0100 (Wed, 30 Dec 2009)

Log Message:
-----------
Scons missed include for pthread.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/object/SConscript

Modified: trunk/blender/source/blender/editors/object/SConscript
===================================================================
--- trunk/blender/source/blender/editors/object/SConscript	2009-12-30 19:23:59 UTC (rev 25628)
+++ trunk/blender/source/blender/editors/object/SConscript	2009-12-30 19:55:41 UTC (rev 25629)
@@ -10,6 +10,13 @@
 
 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')
 





More information about the Bf-blender-cvs mailing list