diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-29 19:11:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-29 19:11:06 +0000 |
commit | f040987f25afcd8562e02a018b3c9ef811d8fee1 (patch) | |
tree | 18fef0305ddda186bcef46e339a06d014c8592bd /vst | |
parent | a3eaff8fa3087a17fa166a5cddcf91f0e6e805e1 (diff) |
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
Diffstat (limited to 'vst')
-rw-r--r-- | vst/ardourvst.in | 8 |
1 files changed, 3 insertions, 5 deletions
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 "$@" |