summaryrefslogtreecommitdiff
path: root/vst/ardourvst.in
blob: 2accc5cfb99f1f458448a076679d137a2fa8bb41 (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/ardour2:$GTK_PATH

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