File order matters to the linker. GCC demands this order.
This commit is contained in:
parent
fec7acb87e
commit
72f696e119
|
@ -16,8 +16,8 @@
|
||||||
"<!@(node -p \"require('node-addon-api').include\")"
|
"<!@(node -p \"require('node-addon-api').include\")"
|
||||||
],
|
],
|
||||||
"libraries": [
|
"libraries": [
|
||||||
"<(module_root_dir)/libblst.a",
|
"<(module_root_dir)/c_kzg_4844.o",
|
||||||
"<(module_root_dir)/c_kzg_4844.o"
|
"<(module_root_dir)/libblst.a"
|
||||||
],
|
],
|
||||||
"dependencies": ["<!(node -p \"require('node-addon-api').gyp\")"],
|
"dependencies": ["<!(node -p \"require('node-addon-api').gyp\")"],
|
||||||
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
|
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
"<!@(node -p \"require('node-addon-api').include\")"
|
"<!@(node -p \"require('node-addon-api').include\")"
|
||||||
],
|
],
|
||||||
"libraries": [
|
"libraries": [
|
||||||
"<(module_root_dir)/c_kzg_4844.o",
|
"<(module_root_dir)/../../lib/libblst.a",
|
||||||
"<(module_root_dir)/../../lib/libblst.a"
|
"<(module_root_dir)/c_kzg_4844.o"
|
||||||
],
|
],
|
||||||
"dependencies": ["<!(node -p \"require('node-addon-api').gyp\")"],
|
"dependencies": ["<!(node -p \"require('node-addon-api').gyp\")"],
|
||||||
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"]
|
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "c-kzg",
|
"name": "c-kzg",
|
||||||
"version": "0.0.7",
|
"version": "0.0.8",
|
||||||
"description": "NodeJS bindings for C-KZG",
|
"description": "NodeJS bindings for C-KZG",
|
||||||
"author": "Dan Coffman",
|
"author": "Dan Coffman",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
Loading…
Reference in New Issue