cfgtool: add external VST functions used by libardour
authorRobin Gareus <robin@gareus.org>
Sun, 22 Mar 2015 22:37:55 +0000 (23:37 +0100)
committerRobin Gareus <robin@gareus.org>
Sun, 22 Mar 2015 22:37:55 +0000 (23:37 +0100)
cfgtool/cfgtool.cc
cfgtool/wscript

index 68d3e914236ca536248088af9e8549ecded4c7db..9cab329a6a1148a3355c71d770508eb3a5f59714 100644 (file)
@@ -45,3 +45,9 @@ int main (int argc, char **argv) {
 
        return 0;
 }
+
+
+#include "ardour/vst_types.h"
+int vstfx_init (void*) { return 0; }
+void vstfx_exit () {}
+void vstfx_destroy_editor (VSTState*) {}
index a86057ec914036d4277ad2146139481b9d693e02..3f938867f1ca39d3e62fd597b712ce9c9f69d3c2 100644 (file)
@@ -13,6 +13,9 @@ def configure(conf):
     autowaf.configure(conf)
 
 def build(bld):
+    if bld.is_defined('WINDOWS_VST_SUPPORT') and bld.env['build_target'] != 'mingw':
+           return;
+
     obj = bld (features = 'cxx c cxxprogram')
     obj.source       = 'cfgtool.cc'
     obj.target       = 'cfgtool'