bcc: fix build for musl

This commit is contained in:
Andrew J. Hesford 2021-05-18 08:18:33 -04:00
parent 1ecbabd22c
commit 3001489a10
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
if [ "${XBPS_TARGET_LIBC}" = musl ]; then
makedepends+=" libexecinfo-devel"
fi
post_extract() {
sed -i '/tests/d' CMakeLists.txt # break on musl
sed -i 's/<error.h>/<errno.h>/' examples/cpp/KModRetExample.cc