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 deepak1556 committed Dec 19, 2018
1 parent 6e902da commit ed21fb0
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 ed21fb0

Please sign in to comment.