Allow Ardour to run in recent gdb, amend a44124937e
This commit is contained in:
parent
f7341b374e
commit
0bd1a10709
@ -41,8 +41,6 @@ export ARDOUR_SELF=`basename "$0"`
|
||||
|
||||
# Disable extra modules from being loaded by gtk (example, libcanberra-gtk-module.so)
|
||||
export GTK_MODULES=""
|
||||
# Set this so that the executable will find all the right libraries inside the bundle
|
||||
export LD_LIBRARY_PATH=$INSTALL_DIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
|
||||
if [ "T" = "$DEBUG" ]; then
|
||||
export ARDOUR_INSIDE_GDB=1
|
||||
@ -50,6 +48,7 @@ if [ "T" = "$DEBUG" ]; then
|
||||
env LD_LIBRARY_PATH=$INSTALL_DIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} \
|
||||
$INSTALL_DIR/bin/%EXENAME%-%VER%
|
||||
else
|
||||
# Set this so that the executable will find all the right libraries inside the bundle
|
||||
export LD_LIBRARY_PATH=$INSTALL_DIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
exec $INSTALL_DIR/bin/%EXENAME%-%VER% "$@"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user