[v6.x backport] build: refine static and shared lib build
Refine the static and shared lib build process in order to integrate static and shared lib verfication into CI. When building both static and shared lib, we still build node executable now and it uses the shared and static lib.
Signed-off-by: Yihong Wang yh.wang@ibm.com
Refs: https://github.com/nodejs/node/issues/14158 PR-URL: https://github.com/nodejs/node/pull/17604 Reviewed-By: Bartosz Sosnowski bartosz@janeasystems.com Reviewed-By: Ben Noordhuis info@bnoordhuis.nl Reviewed-By: Daniel Bevenius daniel.bevenius@gmail.com
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines