diff --git a/packages/libgmp/build.sh b/packages/libgmp/build.sh index e916543595646e..4ca85d800741c8 100644 --- a/packages/libgmp/build.sh +++ b/packages/libgmp/build.sh @@ -2,7 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://gmplib.org/ TERMUX_PKG_DESCRIPTION="Library for arbitrary precision arithmetic" TERMUX_PKG_LICENSE="LGPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=6.3.0 +TERMUX_PKG_VERSION="6.3.0" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gmp/gmp-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898 TERMUX_PKG_DEPENDS="libc++" @@ -12,5 +13,5 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-cxx" termux_step_pre_configure() { # the cxx tests fail because it won't link properly without this - CXXFLAGS+=" -L$TERMUX_PREFIX/lib" + CXXFLAGS+=" -L$TERMUX_PREFIX/lib -Wl,-rpath=$TERMUX_PREFIX/lib" }