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"
|
makedepends+=" libatomic-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${XBPS_TARGET_LIBC}" = musl ]; then
|
||||||
|
makedepends+=" libexecinfo-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '/tests/d' CMakeLists.txt # break on musl
|
sed -i '/tests/d' CMakeLists.txt # break on musl
|
||||||
sed -i 's/<error.h>/<errno.h>/' examples/cpp/KModRetExample.cc
|
sed -i 's/<error.h>/<errno.h>/' examples/cpp/KModRetExample.cc
|
||||||
|
|
Loading…
Reference in New Issue