Changeset 1745

Show
Ignore:
Timestamp:
01/04/10 23:35:04 (2 years ago)
Author:
andreas
Message:

add headerpad_max_install_names option for mac

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/qt_gui/site_scons/Platform.py

    r1663 r1745  
    163163        PosixPlatform.SetCompilerFlags(self,env) 
    164164        env.Append(CPPFLAGS = ['-DOSX']) 
     165        env.Append(CPPFLAGS = ['-headerpad_max_install_names']) 
    165166 
    166167    def AddPythonLib(self, env, ver): 
     
    185186        env.Replace(SHLINKFLAGS = ['-bundle','-framework','Python']) 
    186187        env.Replace(SHLIBSUFFIX = '.so') 
     188        env.Append(CPPFLAGS = ['-headerpad_max_install_names']) 
     189        env.Append(SHLINKFLAGS = ['-headerpad_max_install_names']) 
    187190        pymod_builder = copy.copy(env['BUILDERS']['SharedLibrary']) 
    188191        pymod_builder.prefix = ''