mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
cronie: unbreak musl builds
This commit is contained in:
parent
812b4f28ea
commit
ce5892305f
1 changed files with 7 additions and 7 deletions
|
@ -33,14 +33,14 @@ alternatives="
|
||||||
crond:crond.8:/usr/share/man/man8/cronie-crond.8
|
crond:crond.8:/usr/share/man/man8/cronie-crond.8
|
||||||
"
|
"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
*-musl) makedepends+=" musl-obstack" ;;
|
makedepends+=" musl-obstack"
|
||||||
esac
|
fi
|
||||||
|
|
||||||
pre_build() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
*-musl) sed -i Makefile */Makefile -e "s; -lpam; -lobstack&;" ;;
|
export LIBS="-lobstack"
|
||||||
esac
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue