fix 20ea90a1 for winegcc
authorRobin Gareus <robin@gareus.org>
Sat, 17 Jan 2015 20:09:37 +0000 (21:09 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 17 Jan 2015 20:11:27 +0000 (21:11 +0100)
gtk2_ardour/wscript

index 4e520ff5c4d7d2947236aa6f10602bde327035ef..57637e7a2abd0021658b86c9607b68701dbd8ce6 100644 (file)
@@ -368,7 +368,7 @@ def build(bld):
         # If we require VST support we build a stub main() and the FST library
         # here using winegcc, and link it to the GTK front-end library
         obj = bld (features = 'cxx c cxxprogram wine')
-        obj.source = ( '../vst/winmain.c')
+        obj.source = ( '../libs/fst/vstwin.c', '../vst/winmain.c' )
         #
         # XXX do we really need to explicitly link to all of these for the wine executable?
         #
@@ -381,7 +381,6 @@ def build(bld):
                              'libgtk2_ardour',
                              'libgtkmm2ext',
                              'libcanvas',
-                             'vstwin'
                              ]
         obj.target = 'ardour-' + str (bld.env['VERSION']) + '-vst.exe.so'
         obj.includes  = [ '../libs/fst', '.' ]