fix: export libuv symbols (#24659)

* 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>
This commit is contained in:
Teo Koon Peng 2020-08-11 18:17:18 +08:00 committed by GitHub
parent 7ded768743
commit 14aba3f0de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 115 additions and 1 deletions

View file

@ -0,0 +1 @@
require('uv-dlopen');