3 if [ gprofhelper.c -nt gprofhelper.so ] ; then
4 echo "Recompiling gprof helper ..."
5 gcc -shared -nostdlib -fPIC gprofhelper.c -o gprofhelper.so -lpthread -ldl || exit 1
8 export LD_LIBRARY_PATH=../libs/ardour/.libs
9 LDPRELOAD=./gprofhelper.so ./ardour $*