13
0

Allow Ardour to run in recent gdb, amend a44124937e

This commit is contained in:
Robin Gareus 2024-02-17 15:45:19 +01:00
parent f7341b374e
commit 0bd1a10709
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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