Skip to content

Commit 8ccfb7c

Browse files
committed
Fix libchdb to proj root
1 parent fd0052b commit 8ccfb7c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

binding.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"sources": [ "lib/chdb_node.cpp" ],
99
"include_dirs": [
1010
"<!@(node -p \"require('node-addon-api').include\")",
11-
"lib/"
11+
"."
1212
],
13-
"libraries": [ "-L<(module_root_dir)/lib", "-lchdb" ],
13+
"libraries": [ "-L<(module_root_dir)/", "-lchdb" ],
1414
# "cflags!": [ "-fno-exceptions" ],
1515
# "cflags_cc!": [ "-fno-exceptions" ],
1616
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"install": "npm run libchdb && npm run build",
1212
"test": "node example.js",
13-
"libchdb": "cd lib && ./update_libchdb.sh",
13+
"libchdb": "./update_libchdb.sh",
1414
"build": "node-gyp configure build"
1515
},
1616
"author": {
File renamed without changes.

0 commit comments

Comments
 (0)