summaryrefslogtreecommitdiff
path: root/vst/ardourvst.in
blob: 082be1c2fee6dbdabaf97796a66e9feda55292a5 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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

export GTK_PATH=%PREFIX%/lib/ardour3:$GTK_PATH

LD_LIBRARY_PATH=%PREFIX%/lib/ardour3:$LD_LIBRARY_PATH exec wine %PREFIX%/lib/ardour3/ardour_vst.exe.so "$@"