mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 21:56:30 +01:00
[Details] Added fixes to make the code cross platform compilable [Reviewed by] N/A [git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 446294]
9 lines
254 B
Bash
9 lines
254 B
Bash
#!/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
|
|
|
|
. ardev_common.sh
|
|
LDPRELOAD=./gprofhelper.so $EXECUTABLE "$@"
|