build assist for OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@10373 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
521937a9d1
commit
dd989dfe96
6
wscript
6
wscript
@ -439,6 +439,9 @@ def configure(conf):
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
|
||||
# this is required, potentially, for anything we link and then relocate into a bundle
|
||||
conf.env.append_value('LINKFLAGS', [ '-Xlinker', '-headerpad', '-Xlinker', '2048'])
|
||||
|
||||
conf.define ('HAVE_COREAUDIO', 1)
|
||||
conf.define ('AUDIOUNIT_SUPPORT', 1)
|
||||
conf.define ('AU_STATE_SUPPORT', 1)
|
||||
@ -482,9 +485,6 @@ def configure(conf):
|
||||
conf.env.append_value('LINKFLAGS_OSX', ['-undefined', 'suppress' ])
|
||||
conf.env.append_value('LINKFLAGS_OSX', '-flat_namespace')
|
||||
|
||||
conf.env.append_value('LINKFLAGS_GTKOSX', [ '-Xlinker', '-headerpad'])
|
||||
conf.env.append_value('LINKFLAGS_GTKOSX', ['-Xlinker', '2048'])
|
||||
|
||||
conf.env.append_value('CXXFLAGS_AUDIOUNITS', "-DAUDIOUNIT_SUPPORT")
|
||||
conf.env.append_value('CXXFLAGS_AUDIOUNITS', "-DAU_STATE_SUPPORT")
|
||||
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'Audiotoolbox', '-framework', 'AudioUnit'])
|
||||
|
Loading…
Reference in New Issue
Block a user