mirror of
https://github.com/lovell/sharp.git
synced 2025-07-12 12:00:14 +02:00
Allow node-gyp configure --sharp-cxx11=1 (#456)
Can also be set in .npmrc. Closes: #442
This commit is contained in:
parent
4f3262c328
commit
39040fb9a0
@ -51,6 +51,7 @@
|
||||
],
|
||||
# Nested variables "pattern" borrowed from http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi
|
||||
'variables': {
|
||||
'sharp-cxx11%': '0',
|
||||
'variables': {
|
||||
'variables': {
|
||||
'conditions': [
|
||||
@ -92,7 +93,7 @@
|
||||
'src/utilities.cc'
|
||||
],
|
||||
'defines': [
|
||||
'_GLIBCXX_USE_CXX11_ABI=0',
|
||||
'_GLIBCXX_USE_CXX11_ABI=<(sharp-cxx11)',
|
||||
'_ALLOW_KEYWORD_MACROS'
|
||||
],
|
||||
'include_dirs': [
|
||||
|
Loading…
x
Reference in New Issue
Block a user