diff --git a/srcpkgs/liboping/template b/srcpkgs/liboping/template index 4575e7419c4..767a2e4d736 100644 --- a/srcpkgs/liboping/template +++ b/srcpkgs/liboping/template @@ -14,6 +14,10 @@ checksum=eb38aa93f93e8ab282d97e2582fbaea88b3f889a08cbc9dbf20059c3779d5cd8 CFLAGS="-Wno-error" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + post_configure() { ( cd bindings/perl