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)
|
# Disable extra modules from being loaded by gtk (example, libcanberra-gtk-module.so)
|
||||||
export GTK_MODULES=""
|
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
|
if [ "T" = "$DEBUG" ]; then
|
||||||
export ARDOUR_INSIDE_GDB=1
|
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} \
|
env LD_LIBRARY_PATH=$INSTALL_DIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} \
|
||||||
$INSTALL_DIR/bin/%EXENAME%-%VER%
|
$INSTALL_DIR/bin/%EXENAME%-%VER%
|
||||||
else
|
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}
|
export LD_LIBRARY_PATH=$INSTALL_DIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||||
exec $INSTALL_DIR/bin/%EXENAME%-%VER% "$@"
|
exec $INSTALL_DIR/bin/%EXENAME%-%VER% "$@"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user