blob: 8af65b5fe3987daaa2a9c2963b167c7641e201d9 (
plain)
1
2
3
4
5
6
7
8
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
export LD_LIBRARY_PATH=../libs/ardour/.libs
LDPRELOAD=./gprofhelper.so ./ardev $*
|