summaryrefslogtreecommitdiff
path: root/gtk2_ardour/arprof
blob: 984866a99b2952e53458498cc642547205e687c4 (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 ./ardour $*