use "portable" approach to forcing visible symbols in third party libs (qm-dsp, vamp-plugins, appleutility, clearlooks)
This commit is contained in:
parent
a0d7a144d3
commit
31b68d1db8
@ -33,7 +33,7 @@ def build(bld):
|
||||
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' ]
|
||||
autowaf.ensure_visible_symbols (obj, True)
|
||||
obj.export_includes = ['.']
|
||||
obj.includes = ['.']
|
||||
obj.name = 'libappleutility'
|
||||
|
@ -36,6 +36,7 @@ def build(bld):
|
||||
obj.uselib = 'GTK'
|
||||
obj.includes = '.'
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'engines')
|
||||
autowaf.ensure_visible_symbols (obj, True)
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
# Bit of a hack: make a symlink to the .dylib that meets GTK's criteria for finding it (namely that the library must be a *.so
|
||||
|
@ -47,8 +47,7 @@ def build(bld):
|
||||
maths/MathUtilities.cpp
|
||||
base/Pitch.cpp
|
||||
'''
|
||||
obj.cxxflags = [ '-fvisibility=default' ]
|
||||
obj.cflags = [ '-fvisibility=default' ]
|
||||
autowaf.ensure_visible_symbols (obj, True)
|
||||
obj.export_includes = ['.']
|
||||
obj.includes = ['.']
|
||||
obj.name = 'libqmdsp'
|
||||
|
@ -50,8 +50,7 @@ def build(bld):
|
||||
obj.uselib = 'FFTW3F VAMPSDK'
|
||||
obj.use = 'libvampplugin libqmdsp'
|
||||
obj.defines = [ 'ARDOUR_VAMP_PLUGINS_DLL_EPORTS' ]
|
||||
obj.cxxflags = [ '-fvisibility=default' ]
|
||||
obj.cflags = [ '-fvisibility=default' ]
|
||||
autowaf.ensure_visible_symbols (obj, True)
|
||||
if bld.is_defined('HAVE_AUBIO'):
|
||||
obj.source += ' Onset.cpp '
|
||||
obj.uselib += ' AUBIO '
|
||||
|
Loading…
Reference in New Issue
Block a user