[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56948] trunk/blender/build_files/scons/ tools/Blender.py: OSX/scons: use ditto --arch <arch> instead of cp, to thin out unused architecture on the fly

jens verwiebe info at jensverwiebe.de
Tue May 21 18:44:39 CEST 2013


Revision: 56948
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56948
Author:   jensverwiebe
Date:     2013-05-21 16:44:39 +0000 (Tue, 21 May 2013)
Log Message:
-----------
OSX/scons: use ditto --arch <arch> instead of cp, to thin out unused architecture on the fly

Modified Paths:
--------------
    trunk/blender/build_files/scons/tools/Blender.py

Modified: trunk/blender/build_files/scons/tools/Blender.py
===================================================================
--- trunk/blender/build_files/scons/tools/Blender.py	2013-05-21 16:27:26 UTC (rev 56947)
+++ trunk/blender/build_files/scons/tools/Blender.py	2013-05-21 16:44:39 UTC (rev 56948)
@@ -687,7 +687,7 @@
         cmd = 'mkdir %s/%s.app/Contents/MacOS/lib'%(installdir, binary)
         commands.getoutput(cmd)
         instname = env['BF_CXX']
-        cmd = 'cp %s/lib/libgcc_s.1.dylib %s/%s.app/Contents/MacOS/lib/'%(instname, installdir, binary)
+        cmd = 'ditto --arch %s %s/lib/libgcc_s.1.dylib %s/%s.app/Contents/MacOS/lib/'%(osxarch, instname, installdir, binary)
         commands.getoutput(cmd)
         cmd = 'install_name_tool -id @executable_path/lib/libgcc_s.1.dylib %s/%s.app/Contents/MacOS/lib/libgcc_s.1.dylib'%(installdir, binary)
         commands.getoutput(cmd)




More information about the Bf-blender-cvs mailing list