Large nasty commit in the form of a 5000 line patch chock-full of completely
[ardour.git] / gtk2_ardour / arprof
1 #!/bin/sh
2
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
6 fi
7
8 export LD_LIBRARY_PATH=../libs/ardour/.libs
9 LDPRELOAD=./gprofhelper.so ./ardev $*