14aba3f0de
* fix: export libuv symbols * add test for linux and windows * mac linker flags * assuming same foo.so path for macos * use --whole-archive flag for mac as well * use force_load for mac * refactor: use napi c api directly Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
13 lines
No EOL
210 B
Python
13 lines
No EOL
210 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "test_module",
|
|
"sources": [ "main.cpp" ],
|
|
},
|
|
{
|
|
"target_name": "libfoo",
|
|
"type": "shared_library",
|
|
"sources": [ "foo.cpp" ]
|
|
}
|
|
]
|
|
} |