Skip to content

Commit

Permalink
test: build with -fPIC on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlau committed Dec 15, 2021
1 parent f41cb22 commit 429ee17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion node.gyp
Expand Up @@ -1487,7 +1487,10 @@
['OS=="mac"', {
'dependencies': ['deps/openssl/openssl.gyp:openssl'],
'xcode_settings': {
'OTHER_CFLAGS': ['-Wno-deprecated-declarations'],
'OTHER_CFLAGS': [
'-Wno-deprecated-declarations',
'-fPIC'
],
},
}],
['OS=="linux" and target_arch=="x64"', {
Expand Down

0 comments on commit 429ee17

Please sign in to comment.