13
0

override visibility default for Apple's "appleutility" library, which was written without symbol export control

This commit is contained in:
Paul Davis 2014-01-17 09:52:13 -05:00
parent b9185d2c07
commit 3ebd42b873

View File

@ -31,6 +31,9 @@ def build(bld):
obj = bld(features = 'cxx cxxshlib') obj = bld(features = 'cxx cxxshlib')
obj.uselib = 'AUDIOUNITS OSX' obj.uselib = 'AUDIOUNITS OSX'
obj.source = libappleutility_sources obj.source = libappleutility_sources
# apple did not write this library with full symbol export control
# so we need to override any visibility default.
obj.cxxflags = [ '-fvisibility=default' ]
obj.export_includes = ['.'] obj.export_includes = ['.']
obj.includes = ['.'] obj.includes = ['.']
obj.name = 'libappleutility' obj.name = 'libappleutility'