Skip to content

Commit

Permalink
Fixing zdefs.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble committed Apr 4, 2018
1 parent 5a761f7 commit 07a9b01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/grpc-native-core/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -879,9 +879,11 @@
],
'cflags': [
'-pthread',
'-zdefs',
'-Wno-error=deprecated-declarations'
],
'ldflags': [
'-Wl,-zdefs',
],
"conditions": [
['OS=="win" or runtime=="electron"', {
'dependencies': [
Expand Down
4 changes: 3 additions & 1 deletion packages/grpc-native-core/templates/binding.gyp.template
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,11 @@
],
'cflags': [
'-pthread',
'-zdefs',
'-Wno-error=deprecated-declarations'
],
'ldflags': [
'-Wl,-zdefs',
],
"conditions": [
['OS=="win" or runtime=="electron"', {
'dependencies': [
Expand Down

0 comments on commit 07a9b01

Please sign in to comment.