File tree 1 file changed +16
-12
lines changed
1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "variables" : {
3
- "openssl_fips" : "" ,
4
- },
5
2
"targets" : [
6
3
{
7
4
"target_name" : "chdb_node" ,
11
8
"."
12
9
],
13
10
"libraries" : [ "<(module_root_dir)/libchdb.so" ],
11
+ "cflags!" : [ "-fno-exceptions" ],
12
+ "cflags_cc!" : [ "-fno-exceptions" ],
13
+ "defines" : [ "NAPI_DISABLE_CPP_EXCEPTIONS" ],
14
14
"conditions" : [
15
- ['OS=="mac"' , {
16
- "ldflags" : [
17
- "-Wl,-rpath,@loader_path/../../"
15
+ ["OS=='mac'" , {
16
+ "actions" : [
17
+ {
18
+ "action_name" : "postbuild" ,
19
+ "inputs" : [],
20
+ "outputs" : ["<(module_root_dir)/build/Release/postbuild_dummy" ],
21
+ "action" : [
22
+ "sh" , "-c" ,
23
+ "install_name_tool -change libchdb.so @loader_path/../../libchdb.so <(module_root_dir)/build/Release/chdb_node.node"
24
+ ]
25
+ }
18
26
]
19
27
}]
20
- ],
21
- "cflags!" : [ "-fno-exceptions" ],
22
- "cflags_cc!" : [ "-fno-exceptions" ],
23
- "defines" : [ "NAPI_DISABLE_CPP_EXCEPTIONS" ]
28
+ ]
24
29
}
25
30
]
26
- }
27
-
31
+ }
You can’t perform that action at this time.
0 commit comments