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'
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
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'
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 '