Skip to content

Commit

Permalink
Force use of portable blst in nodejs bindings (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia authored Aug 11, 2023
1 parent d874c06 commit 3ce8f86
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bindings/node.js/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 3ce8f86

Please sign in to comment.