diff --git a/srcpkgs/proot/template b/srcpkgs/proot/template index c3812ca5e7..bf03af65a9 100644 --- a/srcpkgs/proot/template +++ b/srcpkgs/proot/template @@ -14,6 +14,10 @@ homepage="https://proot-me.github.io" distfiles="https://github.com/proot-me/PRoot/archive/v${version}.tar.gz" checksum=ce0a3baca8312613bd10f65bb436a3aaa28e1034f498a22c35ad0693600e01dd +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + pre_build() { # Fix glibc ptrace.h specific constants for musl libc cp ${FILESDIR}/ptrace_compat.h .