diff options
Diffstat (limited to 'gtk2_ardour/arprof-scons')
-rwxr-xr-x | gtk2_ardour/arprof-scons | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/arprof-scons b/gtk2_ardour/arprof-scons new file mode 100755 index 0000000000..47c11cdb99 --- /dev/null +++ b/gtk2_ardour/arprof-scons @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ gprofhelper.c -nt gprofhelper.so ] ; then + echo "Recompiling gprof helper ..." + gcc -shared -nostdlib -fPIC gprofhelper.c -o gprofhelper.so -lpthread -ldl || exit 1 +fi + +. ardev_common.sh +LDPRELOAD=./gprofhelper.so $EXECUTABLE "$@" |