Force use of portable blst in nodejs bindings (#339)

This commit is contained in:
Justin Traglia 2023-08-11 10:20:07 -05:00 committed by GitHub
parent d874c06b42
commit 3ce8f86341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,10 @@
"<(module_root_dir)/deps/c-kzg",
"<!@(node -p \"require('node-addon-api').include\")"
],
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
"defines": [
"__BLST_PORTABLE__",
"NAPI_DISABLE_CPP_EXCEPTIONS"
],
"conditions": [
["OS!='win'", {
"sources": ["deps/blst/build/assembly.S"],