Robin Gareus
1801c33ee4
This fixes an issue with inconsistent startup scripts. LD_LIBRARY_PATH was incomplete since at least 5.0 (5.12 is broken, too) likewise ctrl surface path were outdated, etc. Prefer to use `gtk2_ardour/ardev_common.sh.in` as the central point to define environment variables for running Ardour from the source-tree. Other start scripts e.g. `vst/ardevst` already did this.
13 lines
372 B
Bash
Executable File
13 lines
372 B
Bash
Executable File
#!/bin/sh
|
|
TOP=`dirname "$0"`/..
|
|
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
|
|
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
|
|
export ARDOUR_INSIDE_GDB=1
|
|
if test -n "`which gdb`"; then
|
|
exec gdb --args $TOP/build/headless/hardour-$ARDOURVERSION "$@"
|
|
fi
|
|
if test -n "`which lldb`"; then
|
|
exec lldb -- $TOP/build/headless/hardour-$ARDOURVERSION "$@"
|
|
fi
|
|
echo "neither gdb nor lldb was found."
|