Skip to content

Commit

Permalink
Add symbol needed by ancient Node.js versions on OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjrv committed May 29, 2017
1 parent 43cb94a commit e492410
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/nbind.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@

}, {

"copies": [{"destination": "<(INTERMEDIATE_DIR)", "files": ["symbols.txt"]}],
"symbols_path": "<(INTERMEDIATE_DIR)/symbols.txt",

"sources": [
"v8/Buffer.cc",
"v8/Binding.cc"
Expand Down Expand Up @@ -84,8 +87,7 @@
],
"OTHER_LDFLAGS": [
"-stdlib=libc++",
"-exported_symbols_list",
"/dev/null"
"-exported_symbols_list", "<(_symbols_path)"
]
}

Expand Down
1 change: 1 addition & 0 deletions src/symbols.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_nbind_module

0 comments on commit e492410

Please sign in to comment.