run bundle fixup code for all platforms
[ardour.git] / gtk2_ardour / arval
index a91943fb4d89d74c6fac3e3b589785cde47f88d3..cdd709dbb596c5b8c93d2f52ec966d86c69256d3 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh
-source ardev_common.sh
-exec valgrind --db-attach=yes --num-callers=12 --tool=memcheck ./ardour.bin --novst $*
+. `dirname "$0"`/../build/default/gtk2_ardour/ardev_common_waf.sh
+LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
+export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
+exec valgrind  --error-limit=no --num-callers=50 --tool=memcheck $TOP/$EXECUTABLE --novst "$@"