diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-17 11:26:01 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-17 11:26:01 -0400 |
commit | 15471ca7dd23cd84185e493efb6da4b9958cda0f (patch) | |
tree | 91206bdb16d107c6bd410b143845648ca906422a /libs/gtkmm2ext/wscript | |
parent | 94ef2692b895c6979e821811a64c8f4614fb0aac (diff) |
add export control to libgtkmm2ext
Diffstat (limited to 'libs/gtkmm2ext/wscript')
-rw-r--r-- | libs/gtkmm2ext/wscript | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/wscript b/libs/gtkmm2ext/wscript index 494ec8b225..109f0fba1c 100644 --- a/libs/gtkmm2ext/wscript +++ b/libs/gtkmm2ext/wscript @@ -86,9 +86,14 @@ def configure(conf): def build(bld): if bld.is_defined ('INTERNAL_SHARED_LIBS'): obj = bld.shlib(features = 'c cxx cshlib cxxshlib', source=gtkmm2ext_sources) + # defines for this library + obj.defines = [ 'LIBGTKMM2EXT_DLL=1', 'LIBGTKMM2EXT_DLL_EXPORTS=1' ] + # internal shared libs that we use + obj.defines += [ 'LIBPBD_DLL=1' ] else: obj = bld.stlib(features = 'c cxx cstlib cxxstlib', source=gtkmm2ext_sources) obj.cxxflags = [ '-fPIC' ] + obj.defines = [ ] obj.export_includes = ['.'] obj.includes = ['.'] @@ -98,7 +103,7 @@ def build(bld): obj.use = [ 'libpbd' ] obj.vnum = GTKMM2EXT_LIB_VERSION obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3') - obj.defines = [ + obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"', 'LOCALEDIR="' + os.path.join( os.path.normpath(bld.env['DATADIR']), 'locale') + '"'] |