Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 1293d1d

Browse files
nornagondeepak1556
authored andcommitted
fix: export napi symbols (#77)
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
1 parent fa578ce commit 1293d1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js_native_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#ifdef _WIN32
2222
#define NAPI_EXTERN __declspec(dllexport)
2323
#else
24-
#define NAPI_EXTERN /* nothing */
24+
#define NAPI_EXTERN __attribute__((visibility("default")))
2525
#endif
2626
#endif
2727

0 commit comments

Comments
 (0)