summaryrefslogtreecommitdiff
path: root/vst/ardourvst.in
diff options
context:
space:
mode:
Diffstat (limited to 'vst/ardourvst.in')
-rw-r--r--vst/ardourvst.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/vst/ardourvst.in b/vst/ardourvst.in
new file mode 100644
index 0000000000..8297e1870b
--- /dev/null
+++ b/vst/ardourvst.in
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# NOTE: the use of PREFIX is incorrect - it should be INSTALL_PREFIX,
+# but somehow scons puts leading /'s on INSTALL_PREFIX and that causes
+# wine to be unable to find the .exe.so file
+
+LD_LIBRARY_PATH=%PREFIX%/lib/ardour2:$LD_LIBRARY_PATH exec wine %PREFIX%/lib/ardour2/ardour_vst.exe.so "$@"
+