gettext: fix non-cross builds
This commit is contained in:
parent
ab6902c8f7
commit
7dc490058a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue