summaryrefslogtreecommitdiff
path: root/libs/surfaces/tranzport/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/tranzport/wscript')
-rw-r--r--libs/surfaces/tranzport/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/surfaces/tranzport/wscript b/libs/surfaces/tranzport/wscript
index 3c479e72d8..a73cec2832 100644
--- a/libs/surfaces/tranzport/wscript
+++ b/libs/surfaces/tranzport/wscript
@@ -39,7 +39,9 @@ def build(bld):
wheel_modes.cc
'''
obj.export_includes = ['./tranzport']
- obj.cxxflags = '-DPACKAGE="ardour_tranzport"'
+ obj.defines = [ 'PACKAGE="ardour_tranzport"' ]
+ if bld.is_defined ('INTERNAL_SHARED_LIBS'):
+ obj.defines += [ 'LIBARDOUR_DLL=1', 'LIBCONTROLCP_DLL=1', 'LIBPBD_DLL=1', 'LIBGTKMM2EXT_DLL=1' ]
obj.includes = ['.', './tranzport']
obj.name = 'libardour_tranzport'
obj.defines = [ 'ARDOURSURFACE_DLL_EXPORTS' ]