Ticket #22230: relax.patch
File relax.patch, 2.1 KB (added by howarth@…, 15 years ago) |
---|
-
relax
old new 1 #! /usr/bin/env python 1 #! /usr/bin/env python2.6 2 2 3 3 ############################################################################### 4 4 # # -
scons/install.py
old new 112 112 ############### 113 113 114 114 # Run relax to create the *.pyc files. 115 print "\nRunning relax to create the byte-compiled *.pyc files."116 system(env['SYMLINK'] + " --test")115 # print "\nRunning relax to create the byte-compiled *.pyc files." 116 # system(env['SYMLINK'] + " --test") 117 117 118 118 # Final print out. 119 119 print "\n\n\n" -
sconstruct
old new 94 94 SYS = SYSTEM 95 95 96 96 # Mac OS X installation path. 97 INSTALL_PATH = sys.prefix + sep + 'local'97 INSTALL_PATH = '@DEST_ROOT@@PREFIX@' + sep + 'lib' 98 98 99 99 100 100 # All other operating systems. … … 111 111 ############### 112 112 113 113 # Relax installation directory. 114 RELAX_PATH = INSTALL_PATH + sep + 'relax' 114 RELAX_PATH = INSTALL_PATH + sep + 'relax' 115 115 116 116 # Installation path for binaries. 117 BIN_PATH = INSTALL_PATH+ sep + 'bin'117 BIN_PATH = '@DEST_ROOT@@PREFIX@' + sep + 'bin' 118 118 119 119 # Symbolic link installation path. 120 120 SYMLINK = BIN_PATH + sep + 'relax' 121 121 122 122 123 124 123 # The distribution files. 125 124 ######################### 126 125 … … 486 485 487 486 # Catch Mac OS X and send the correct command line options to the linker (these may become redundant as SCons improves). 488 487 if env['PLATFORM'] == 'darwin': 489 env.Append(LINKFLAGS = ['-bundle', '-bundle_loader', sys.prefix + path.sep + 'bin' + path.sep + 'python ', '-dynamic'])488 env.Append(LINKFLAGS = ['-bundle', '-bundle_loader', sys.prefix + path.sep + 'bin' + path.sep + 'python2.6', '-dynamic', '-undefined', 'dynamic_lookup']) 490 489 env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS') 491 490 env['SHLIBSUFFIX'] = '.so' 492 491