bcc: fix build for musl
This commit is contained in:
parent
1ecbabd22c
commit
3001489a10
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue