diff --git a/srcpkgs/ppp/template b/srcpkgs/ppp/template index a0863cec565..d8974906ffb 100644 --- a/srcpkgs/ppp/template +++ b/srcpkgs/ppp/template @@ -23,6 +23,10 @@ conf_files=" CFLAGS="-D_GNU_SOURCE" +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + do_configure() { # Custom CFLAGS. find -name "Makefile.linux" -exec sed -i "{}" \