gettext: fix non-cross builds

This commit is contained in:
Michal Vasilek 2022-04-24 21:52:50 +02:00 committed by Echo
parent ab6902c8f7
commit 7dc490058a
1 changed files with 4 additions and 7 deletions

View File

@ -14,7 +14,7 @@ configure_args="--disable-java --disable-native-java --disable-csharp
# Either:
# - Have xz in hostmakedepends; or
# - Let gettext-devel depends on bzip2
hostmakedepends="xz"
hostmakedepends="xz automake libtool"
short_desc="Internationalized Message Handling Library and tools"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
@ -36,12 +36,9 @@ else
conflicts="gettext-libs>=0"
fi
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" automake libtool"
pre_configure() {
autoreconf -fi
}
fi
pre_configure() {
autoreconf -fi
}
post_install() {
# don't overwrite musl's header