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

Commit

Permalink
fix: export napi symbols (#77)
Browse files Browse the repository at this point in the history
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
  • Loading branch information
nornagon authored and nitsakh committed Mar 18, 2019
1 parent 9ebb308 commit 9f066f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js_native_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifdef _WIN32
#define NAPI_EXTERN __declspec(dllexport)
#else
#define NAPI_EXTERN /* nothing */
#define NAPI_EXTERN __attribute__((visibility("default")))
#endif
#endif

Expand Down

0 comments on commit 9f066f3

Please sign in to comment.