build: [gn] node as a static lib

This commit is contained in:
Jeremy Apthorp 2018-07-11 10:43:52 -07:00
parent 98255ee413
commit 03131c5e77
3 changed files with 86 additions and 31 deletions

View file

@ -9,7 +9,9 @@
// Include common headers for using node APIs.
#ifdef NODE_SHARED_MODE
#define BUILDING_NODE_EXTENSION
#endif
// The following define makes sure that we do not include the macros
// again. But we still need the tracing functions, so declaring them.