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/evoral/wscript | |
parent | 94ef2692b895c6979e821811a64c8f4614fb0aac (diff) |
add export control to libgtkmm2ext
Diffstat (limited to 'libs/evoral/wscript')
-rw-r--r-- | libs/evoral/wscript | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/evoral/wscript b/libs/evoral/wscript index 5ba3942d69..f309bc7031 100644 --- a/libs/evoral/wscript +++ b/libs/evoral/wscript @@ -90,10 +90,13 @@ def build(bld): # Library if bld.is_defined ('INTERNAL_SHARED_LIBS'): obj = bld.shlib(features = 'c cxx cshlib cxxshlib', source=lib_source) + obj.defines = [ 'LIBEVORAL_DLL=1', 'LIBEVORAL_DLL_EXPORTS=1' ] + obj.defines = [ 'LIBPBD_DLL=1' ] else: obj = bld.stlib(features = 'c cxx cstlib cxxstlib', source=lib_source) obj.cxxflags = [ '-fPIC' ] obj.cflags = [ '-fPIC' ] + obj.defines = [ ] obj.export_includes = ['.'] obj.includes = ['.', './src'] @@ -103,9 +106,7 @@ def build(bld): obj.use = 'libsmf libpbd' obj.vnum = EVORAL_LIB_VERSION obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3') - obj.defines = ['PACKAGE="libevoral"', 'EVORAL_MIDI_XML=1' - 'LIBEVORAL_DLL=1', 'LIBEVORAL_DLL_EXPORTS=1' - ] + obj.defines += [ 'PACKAGE="libevoral"', 'EVORAL_MIDI_XML=1' ] if bld.env['BUILD_TESTS'] and bld.is_defined('HAVE_CPPUNIT'): # Static library (for unit test code coverage) |