common/build-helper/rust.sh: link to libsodium dynamically
without this envvar, libsodium-sys will attempt to link to libsodium staticly, and may fail.
This commit is contained in:
parent
8d4a72c445
commit
1490e17b58
|
@ -44,6 +44,7 @@ export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
|||
# sodium-sys
|
||||
export SODIUM_LIB_DIR="${XBPS_CROSS_BASE}/usr/include"
|
||||
export SODIUM_INC_DIR="${XBPS_CROSS_BASE}/usr/lib"
|
||||
export SODIUM_SHARED=1
|
||||
|
||||
# openssl-sys
|
||||
export OPENSSL_NO_VENDOR=1
|
||||
|
|
Loading…
Reference in New Issue