From f040987f25afcd8562e02a018b3c9ef811d8fee1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 29 Feb 2012 19:11:06 +0000 Subject: change format of the ardourVST startup script to match what we do for the non-wine build git-svn-id: svn://localhost/ardour2/branches/3.0@11554 d708f5d6-7413-0410-9779-e7cbd77b26cf --- vst/ardourvst.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'vst') diff --git a/vst/ardourvst.in b/vst/ardourvst.in index 082be1c2fe..0e08e40aee 100644 --- a/vst/ardourvst.in +++ b/vst/ardourvst.in @@ -1,10 +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 +export GTK_PATH=@LIBDIR@/ardour3${GTK_PATH:+:$GTK_PATH} +export LD_LIBRARY_PATH=@LIBDIR@/ardour3${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} -export GTK_PATH=%PREFIX%/lib/ardour3:$GTK_PATH +exec wine @LIBDIR@/ardour3/ardour_vst.exe.so "$@" -LD_LIBRARY_PATH=%PREFIX%/lib/ardour3:$LD_LIBRARY_PATH exec wine %PREFIX%/lib/ardour3/ardour_vst.exe.so "$@" -- cgit v1.2.3