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
This commit is contained 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 "$@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user