From d16edb530e6f295311acaca2c306d74c1ae5d527 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 23 Jan 2014 13:38:45 -0500 Subject: [PATCH] fix up obj.defines for generic MIDI wscript --- libs/surfaces/generic_midi/wscript | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libs/surfaces/generic_midi/wscript b/libs/surfaces/generic_midi/wscript index e871aeeec1..a2008deaca 100644 --- a/libs/surfaces/generic_midi/wscript +++ b/libs/surfaces/generic_midi/wscript @@ -30,18 +30,16 @@ def build(bld): midiaction.cc ''' obj.export_includes = ['.'] - obj.defines = [ 'PACKAGE="ardour_genericmidi"' ] - obj.includes = ['.', './generic_midi'] + obj.defines = [ 'PACKAGE="ardour_genericmidi"' ] + obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ] + obj.defines += [ 'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"' ] + obj.includes = [ '.', './generic_midi'] obj.name = 'libardour_generic_midi' obj.target = 'ardour_generic_midi' - obj.defines = [ 'ARDOURSURFACE_DLL_EXPORTS' ] obj.uselib = 'GTKMM GTK GDK' obj.use = 'libardour libardour_cp libgtkmm2ext libpbd' obj.vnum = LIBARDOUR_GENERIC_MIDI_LIB_VERSION obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'surfaces') - obj.defines += [ - 'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"' - ] def shutdown(): autowaf.shutdown()