From 6cd5cf12c41ad2901d99aad7e516ab64c606b3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 19 Nov 2020 08:44:25 +0700 Subject: [PATCH] matio: fix musl build --- srcpkgs/matio/template | 4 ++++ 1 file changed, 4 insertions(+) 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 }