aboutsummaryrefslogtreecommitdiffstats
path: root/main/gmp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gmp/APKBUILD')
-rw-r--r--main/gmp/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/gmp/APKBUILD b/main/gmp/APKBUILD
index d562f9b526..85fea4aa81 100644
--- a/main/gmp/APKBUILD
+++ b/main/gmp/APKBUILD
@@ -6,7 +6,7 @@ pkgdesc="A free library for arbitrary precision arithmetic"
url="http://gmplib.org/"
arch="all"
license="LGPL3"
-makedepends="m4 texinfo"
+makedepends="m4 texinfo libtool"
depends=
subpackages="$pkgname-doc $pkgname-dev libgmpxx"
source="https://gmplib.org/download/gmp/gmp-$pkgver.tar.xz
@@ -16,7 +16,8 @@ _builddir="$srcdir"/gmp-${pkgver%[a-z]}
prepare() {
cd "$_builddir"
- sed -i -e "/# We cannot seem to hardcode it, guess we'll fake it./"'{ n; s/add_dir="-L$libdir"/add_dir="-L$lt_sysroot$libdir"/ }' ltmain.sh || return 1
+ # force update to libtool with fixed cross-build support
+ libtoolize -f || return 1
}
build() {