use "portable" approach to forcing visible symbols in third party libs (qm-dsp, vamp-plugins, appleutility, clearlooks)

This commit is contained in:
Paul Davis
2014-01-17 13:10:41 -05:00
parent a0d7a144d3
commit 31b68d1db8
5 changed files with 4 additions and 5 deletions

View File

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