Ensure --sharp-cxx11 flag is passed through #456 #494

node-gyp replaces dashes with underscores
This commit is contained in:
Lovell Fuller 2016-07-06 10:40:11 +01:00
parent c9d32e22d3
commit 7689fbe54d

View File

@ -51,7 +51,7 @@
],
# Nested variables "pattern" borrowed from http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi
'variables': {
'sharp-cxx11%': '0',
'sharp_cxx11%': '0',
'variables': {
'variables': {
'conditions': [
@ -93,7 +93,7 @@
'src/utilities.cc'
],
'defines': [
'_GLIBCXX_USE_CXX11_ABI=<(sharp-cxx11)',
'_GLIBCXX_USE_CXX11_ABI=<(sharp_cxx11)',
'_ALLOW_KEYWORD_MACROS'
],
'include_dirs': [