diff --git a/common/build-helper/rust.sh b/common/build-helper/rust.sh index 94a69510f2b..f689f7c7f9d 100644 --- a/common/build-helper/rust.sh +++ b/common/build-helper/rust.sh @@ -54,3 +54,6 @@ export PCRE2_SYS_STATIC=0 # zstd-sys export ZSTD_SYS_USE_PKG_CONFIG=1 + +# onig-sys +export RUSTONIG_SYSTEM_LIBONIG=1