From 7689fbe54d5219ffb9c83b3cfaaf33eb7aeeb885 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Wed, 6 Jul 2016 10:40:11 +0100 Subject: [PATCH] Ensure --sharp-cxx11 flag is passed through #456 #494 node-gyp replaces dashes with underscores --- binding.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding.gyp b/binding.gyp index 695fb5de..590c9d1d 100644 --- a/binding.gyp +++ b/binding.gyp @@ -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': [