OSX fixes

metadata
Wenzel Jakob 2011-08-19 21:17:13 -04:00
parent 30833047d2
commit 0b9e6e20c7
1 changed files with 4 additions and 2 deletions

View File

@ -51,10 +51,12 @@ if hasQt:
if sys.platform == 'darwin':
qtEnv_osx = qtEnv.Clone()
mainEnv_osx = mainEnv.Clone()
mainEnv_osx.ConfigureForObjectiveCPP()
qtEnv_osx.ConfigureForObjectiveCPP()
mainEnv_osx.Program('symlinks_install', ['symlinks_install.c'])
qtEnv_osx['CXXFLAGS'].append(['-Fdependencies/darwin', '-framework', 'BWToolkitFramework'])
qtSources += qtEnv_osx.StaticObject('previewsettingsdlg_cocoa_impl.mm')
qtEnv_osx.Program('symlinks_install', ['symlinks_install.c'])
else:
qtSources = [x for x in qtSources if (not isinstance(x, str) or 'cocoa' not in x)]
mtsgui = qtEnv.Program('mtsgui', qtSources)