10 lines
275 B
Plaintext
10 lines
275 B
Plaintext
|
#!/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 $*
|