[Bf-blender-cvs] [d7d9e98] master: Fix compilation error on OSX+Scons

Sergey Sharybin noreply at git.blender.org
Sun Jun 29 16:33:47 CEST 2014


Commit: d7d9e98352d4fb6d385edbd31b0354a424fe0418
Author: Sergey Sharybin
Date:   Sun Jun 29 20:26:59 2014 +0600
https://developer.blender.org/rBd7d9e98352d4fb6d385edbd31b0354a424fe0418

Fix compilation error on OSX+Scons

Issue was caused by OSX tweaks happening in the SConstruct
after the old location of autotest.

===================================================================

M	SConstruct

===================================================================

diff --git a/SConstruct b/SConstruct
index bdb9b3a..134970d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -178,16 +178,6 @@ if crossbuild and platform not in ('win32-vc', 'win64-vc'):
 
 env['OURPLATFORM'] = platform
 
-# Put all auto configuration run-time tests here
-
-from FindSharedPtr import FindSharedPtr
-from FindUnorderedMap import FindUnorderedMap
-
-conf = Configure(env)
-FindSharedPtr(conf)
-FindUnorderedMap(conf)
-env = conf.Finish()
-
 configfile = os.path.join("build_files", "scons", "config", platform + "-config.py")
 
 if os.path.exists(configfile):
@@ -605,6 +595,16 @@ if not os.path.isdir ( B.root_build_dir):
 # if not os.path.isdir(B.doc_build_dir) and env['WITH_BF_DOCS']:
 #     os.makedirs ( B.doc_build_dir )
 
+# Put all auto configuration run-time tests here
+
+from FindSharedPtr import FindSharedPtr
+from FindUnorderedMap import FindUnorderedMap
+
+conf = Configure(env)
+FindSharedPtr(conf)
+FindUnorderedMap(conf)
+env = conf.Finish()
+
 ###################################
 # Ensure all data files are valid #
 ###################################




More information about the Bf-blender-cvs mailing list