Skip to content
This repository was archived by the owner on Jan 20, 2020. It is now read-only.

Commit 7c7f974

Browse files
author
Alfred Landrum
committed
update macosx minimum version
Ensures that the link and compile minimum macosx is now the same for librdkafka and the addon, and avoids needing to specifiy the c++ std to use, as libc++ became standard in 10.9.
1 parent 9b43bac commit 7c7f974

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

binding.gyp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
'OS=="mac"',
2121
{
2222
'xcode_settings': {
23-
'OTHER_CPLUSPLUSFLAGS' : ['-std=c++11','-stdlib=libc++'],
24-
'OTHER_LDFLAGS': ['-stdlib=libc++'],
25-
'MACOSX_DEPLOYMENT_TARGET': '10.7'
23+
'MACOSX_DEPLOYMENT_TARGET': '10.11'
2624
},
2725
'libraries' : ['-lz']
2826
}
@@ -81,8 +79,8 @@
8179
'OS=="mac"',
8280
{
8381
'xcode_settings': {
84-
'MACOSX_DEPLOYMENT_TARGET': '10.10',
85-
'OTHER_CFLAGS' : [ '-Wno-sign-compare', '-Wno-missing-field-initializers' ],
82+
'MACOSX_DEPLOYMENT_TARGET': '10.11',
83+
'OTHER_CFLAGS' : ['-Wno-sign-compare', '-Wno-missing-field-initializers'],
8684
},
8785
'libraries' : ['-lz']
8886
}

0 commit comments

Comments
 (0)