mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
gmp: fix bootstrap build: run libtoolize only in cross builds.
This commit is contained in:
parent
6100f83bcf
commit
b70d0fa88f
1 changed files with 7 additions and 4 deletions
|
@ -5,7 +5,7 @@ revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-cxx"
|
configure_args="--enable-cxx"
|
||||||
hostmakedepends="m4 libtool"
|
hostmakedepends="m4"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
short_desc="Library for arbitrary precision arithmetic"
|
short_desc="Library for arbitrary precision arithmetic"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -14,9 +14,12 @@ homepage="http://gmplib.org/"
|
||||||
distfiles="http://mirror.anl.gov/pub/gnu/gmp/gmp-${version}a.tar.xz"
|
distfiles="http://mirror.anl.gov/pub/gnu/gmp/gmp-${version}a.tar.xz"
|
||||||
checksum=9156d32edac6955bc53b0218f5f3763facb890b73a835d5e1b901dcf8eb8b764
|
checksum=9156d32edac6955bc53b0218f5f3763facb890b73a835d5e1b901dcf8eb8b764
|
||||||
|
|
||||||
pre_configure() {
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" libtool"
|
||||||
|
pre_configure() {
|
||||||
libtoolize -f
|
libtoolize -f
|
||||||
}
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
gmpxx_package() {
|
gmpxx_package() {
|
||||||
short_desc+=" - C++ support"
|
short_desc+=" - C++ support"
|
||||||
|
|
Loading…
Add table
Reference in a new issue