hardour does not yet support wine-builds
authorRobin Gareus <robin@gareus.org>
Mon, 24 Feb 2014 22:32:35 +0000 (23:32 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 24 Feb 2014 22:57:29 +0000 (23:57 +0100)
headless/wscript

index 3df0e09e93fe9f7b609fa635e2c2142722cc7fd0..d0f9b99ecd05171188b82ebd4bb93e9d838658e1 100644 (file)
@@ -30,6 +30,8 @@ def configure(conf):
 def build(bld):
 
     VERSION = "%s.%s" % (bld.env['MAJOR'], bld.env['MINOR'])
+    if bld.is_defined('WINDOWS_VST_SUPPORT') and bld.env['build_target'] != 'mingw':
+        return
     
     # just the normal executable version of the GTK GUI
     obj = bld (features = 'cxx c cxxprogram')
@@ -66,7 +68,7 @@ def build(bld):
     obj.includes += ['../libs']
 
     if bld.env['build_target'] == 'mingw':
-       if bld.env['DEBUG'] == False:
+        if bld.env['DEBUG'] == False:
             obj.linkflags = ['-mwindows']
 
     if bld.is_defined('NEED_INTL'):