diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template index ab09553a440..9eaa45a5497 100644 --- a/srcpkgs/libunwind/template +++ b/srcpkgs/libunwind/template @@ -11,6 +11,8 @@ license="MIT" homepage="https://www.nongnu.org/libunwind/" distfiles="https://github.com/libunwind/libunwind/releases/download/v${version}/libunwind-${version}.tar.gz" checksum=a18a6a24307443a8ace7a8acc2ce79fbbe6826cd0edf98d6326d0225d6a5d6e6 +# many test failures +make_check=no CFLAGS="-fcommon" @@ -29,6 +31,10 @@ case "$XBPS_TARGET_MACHINE" in *) ;; esac +if [ "$XBPS_TARGET_LIBC" = musl ]; then + checkdepends+=" libexecinfo-devel" +fi + pre_configure() { # unw_getcontext is just getcontext on ppc*, separate lib for musl # it needs to be here because it's used directly in a macro in a