diff --git a/srcpkgs/matio/template b/srcpkgs/matio/template index 63d059701b6..d22e883530b 100644 --- a/srcpkgs/matio/template +++ b/srcpkgs/matio/template @@ -17,6 +17,10 @@ if [ "$CROSS_BUILD" ]; then configure_args+=" ac_cv_va_copy=C99" fi +if [ "$XBPS_TARGET_LIBC" = musl ]; then + makedepends+=" musl-legacy-compat" +fi + post_install() { vlicense COPYING }