darwin.py (scons-4.2.0) | : | darwin.py (SCons-4.3.0) | ||
---|---|---|---|---|
skipping to change at line 37 | skipping to change at line 37 | |||
will usually be imported through the generic SCons.Platform.Platform() | will usually be imported through the generic SCons.Platform.Platform() | |||
selection method. | selection method. | |||
""" | """ | |||
from . import posix | from . import posix | |||
import os | import os | |||
def generate(env): | def generate(env): | |||
posix.generate(env) | posix.generate(env) | |||
env['SHLIBSUFFIX'] = '.dylib' | env['SHLIBSUFFIX'] = '.dylib' | |||
env['HOST_OS'] = 'darwin' | ||||
# put macports paths at front to override Apple's versions, fink path is aft er | # put macports paths at front to override Apple's versions, fink path is aft er | |||
# For now let people who want Macports or Fink tools specify it! | # For now let people who want Macports or Fink tools specify it! | |||
# env['ENV']['PATH'] = '/opt/local/bin:/opt/local/sbin:' + env['ENV']['PATH' ] + ':/sw/bin' | # env['ENV']['PATH'] = '/opt/local/bin:/opt/local/sbin:' + env['ENV']['PATH' ] + ':/sw/bin' | |||
# Store extra system paths in env['ENV']['PATHOSX'] | # Store extra system paths in env['ENV']['PATHOSX'] | |||
filelist = ['/etc/paths',] | filelist = ['/etc/paths',] | |||
# make sure this works on Macs with Tiger or earlier | # make sure this works on Macs with Tiger or earlier | |||
try: | try: | |||
dirlist = os.listdir('/etc/paths.d') | dirlist = os.listdir('/etc/paths.d') | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |