build-style/cargo.sh: export common variables to avoid static linking

This commit is contained in:
Johannes 2018-11-19 20:19:24 +01:00 committed by maxice8
parent 2b82670e5a
commit 5f5a55c2bb
1 changed files with 6 additions and 0 deletions

View File

@ -5,3 +5,9 @@ if [ "$CROSS_BUILD" ]; then
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