diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template index 8d6b4748b8..a51da962f4 100644 --- a/srcpkgs/pcc/template +++ b/srcpkgs/pcc/template @@ -1,7 +1,7 @@ # Template file for 'pcc' pkgname=pcc version=1.1.0.20190420 -revision=3 +revision=4 _distver="${version%.*}" _snapshot="${version##*.}" archs="i686* x86_64*" @@ -21,6 +21,10 @@ checksum="a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812 nocross=yes CFLAGS="-fcommon" +case "$XBPS_TARGET_LIBC" in + musl) depends+=" musl-devel";; + *) depends+=" glibc-devel";; +esac post_extract() { mv pcc-${_distver}.BETA pcc