gettext: fix non-cross builds
This commit is contained in:
parent
ab6902c8f7
commit
7dc490058a
1 changed files with 4 additions and 7 deletions
|
@ -14,7 +14,7 @@ configure_args="--disable-java --disable-native-java --disable-csharp
|
||||||
# Either:
|
# Either:
|
||||||
# - Have xz in hostmakedepends; or
|
# - Have xz in hostmakedepends; or
|
||||||
# - Let gettext-devel depends on bzip2
|
# - Let gettext-devel depends on bzip2
|
||||||
hostmakedepends="xz"
|
hostmakedepends="xz automake libtool"
|
||||||
short_desc="Internationalized Message Handling Library and tools"
|
short_desc="Internationalized Message Handling Library and tools"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
|
@ -36,12 +36,9 @@ else
|
||||||
conflicts="gettext-libs>=0"
|
conflicts="gettext-libs>=0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
pre_configure() {
|
||||||
hostmakedepends+=" automake libtool"
|
autoreconf -fi
|
||||||
pre_configure() {
|
}
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# don't overwrite musl's header
|
# don't overwrite musl's header
|
||||||
|
|
Loading…
Reference in a new issue