override visibility default for Apple's "appleutility" library, which was written without symbol export control
This commit is contained in:
parent
b9185d2c07
commit
3ebd42b873
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user