X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fsurfaces%2Ftranzport%2Fwscript;h=a73cec28322da3882d527cf3812401cb4412a8ab;hb=b855e5f3220027502a3c88f189d511fe2a5a3c2b;hp=3c479e72d868f99329fdbd52eb609cc5410f97df;hpb=75b933eadbe8f90a73a29bb207ff26eebcd4121a;p=ardour.git 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' ]