#!/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=/usr/lib/ardour2:$GTK_PATH

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

