summaryrefslogtreecommitdiff
path: root/gtk2_ardour/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/wscript')
-rw-r--r--gtk2_ardour/wscript10
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript
index 008b0f4884..92f584fc1f 100644
--- a/gtk2_ardour/wscript
+++ b/gtk2_ardour/wscript
@@ -398,14 +398,11 @@ def build(bld):
obj.source = gtk2_ardour_sources
obj.target = 'ardour-' + bld.env['VERSION']
obj.includes = ['.']
+ obj.ldflags = ['-no-undefined']
if bld.is_defined('WINDOWS_VST_SUPPORT'):
# Windows VST support mingw
- obj.source += (
- '../libs/fst/fst.c',
- '../libs/fst/vstwin.c',
- '../vst/winmain.c',
- )
+ obj.source += [ '../vst/winmain.c' ]
obj.includes += [ '../libs/fst' ]
# at this point, "obj" refers to either the normal native executable
@@ -459,7 +456,8 @@ def build(bld):
if bld.is_defined('WINDOWS_VST_SUPPORT'):
obj.source += [ 'windows_vst_plugin_ui.cc' ]
obj.defines += [ 'WINDOWS_VST_SUPPORT' ]
- obj.use += [ 'X11' ]
+ if bld.env['build_target'] != 'mingw':
+ obj.use += [ 'X11' ]
if bld.is_defined('LXVST_SUPPORT'):
obj.source += [ 'linux_vst_gui_support.cc', 'lxvst_plugin_ui.cc' ]