From 6e0a917d017f105961f03794e56cbf20a829b1ff Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 21 Jan 2019 01:48:50 -0200 Subject: [PATCH] environment/build-style/cargo.sh: use rust build_helper --- common/environment/build-style/cargo.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/common/environment/build-style/cargo.sh b/common/environment/build-style/cargo.sh index c4854574e88..c7c9863a055 100644 --- a/common/environment/build-style/cargo.sh +++ b/common/environment/build-style/cargo.sh @@ -4,10 +4,4 @@ if [ "$CROSS_BUILD" ]; then makedepends+=" rust-std" fi -export PKG_CONFIG_ALLOW_CROSS=1 - -export LIBGIT2_SYS_USE_PKG_CONFIG=1 -export GETTEXT_BIN_DIR=/usr/bin -export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext" -export GETTEXT_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include" -export LIBSSH2_SYS_USE_PKG_CONFIG=1 +build_helper+=" rust"