13
0
livetrax/gtk2_ardour/arprof
Taybin Rutkin 209d967b1b Initial import of gtk2_ardour.
git-svn-id: svn://localhost/trunk/ardour2@24 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-25 18:42:24 +00:00

10 lines
275 B
Bash
Executable File

#!/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 $*