diff options
Diffstat (limited to 'libs/ardour/wscript')
-rw-r--r-- | libs/ardour/wscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/wscript b/libs/ardour/wscript index 7ce462ebb5..6fec6ae9d0 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -241,7 +241,8 @@ def configure(conf): autowaf.build_version_files( path_prefix + 'ardour/version.h', path_prefix + 'version.cc', - 'libardour3', conf.env['MAJOR'], conf.env['MINOR'], 0) + 'libardour3', conf.env['MAJOR'], conf.env['MINOR'], 0, + 'LIBARDOUR_API', 'ardour/libardour_visibility.h') autowaf.configure(conf) autowaf.check_pkg(conf, 'aubio', uselib_store='AUBIO', atleast_version='0.3.2') @@ -325,6 +326,8 @@ def build(bld): obj.defines = [ 'LIBARDOUR_DLL=1', 'LIBARDOUR_DLL_EXPORTS=1' ] # macros for this other internal shared libraries that we use obj.defines += [ 'LIBEVORAL_DLL=1', 'LIBMIDIPP_DLL=1', 'LIBPBD_DLL=1' ] + obj.cflags = [ '-fvisibility=hidden' ] + obj.cxxflags = [ '-fvisibility=hidden' ] else: obj = bld.stlib(features = 'c cxx cstlib cxxstlib', source=libardour_sources) obj.cxxflags = [ '-fPIC' ] |