Skip to content

Commit 429ee17

Browse files
committed
test: build with -fPIC on macOS
1 parent f41cb22 commit 429ee17

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

node.gyp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,10 @@
14871487
['OS=="mac"', {
14881488
'dependencies': ['deps/openssl/openssl.gyp:openssl'],
14891489
'xcode_settings': {
1490-
'OTHER_CFLAGS': ['-Wno-deprecated-declarations'],
1490+
'OTHER_CFLAGS': [
1491+
'-Wno-deprecated-declarations',
1492+
'-fPIC'
1493+
],
14911494
},
14921495
}],
14931496
['OS=="linux" and target_arch=="x64"', {

0 commit comments

Comments
 (0)