diff --git a/srcpkgs/cronie/template b/srcpkgs/cronie/template index f82758e0208..4313284b624 100644 --- a/srcpkgs/cronie/template +++ b/srcpkgs/cronie/template @@ -29,9 +29,9 @@ case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" musl-obstack" ;; esac -pre_configure() { +pre_build() { case "$XBPS_TARGET_MACHINE" in - *-musl) LIBS+=" -lobstack" ;; + *-musl) sed -i Makefile */Makefile -e "s; -lpam; -lobstack&;" ;; esac }