mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +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
|
||||
"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) makedepends+=" musl-obstack" ;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
makedepends+=" musl-obstack"
|
||||
fi
|
||||
|
||||
pre_build() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) sed -i Makefile */Makefile -e "s; -lpam; -lobstack&;" ;;
|
||||
esac
|
||||
pre_configure() {
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
export LIBS="-lobstack"
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue