mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Prevent glib assertions and checks #4351
This commit is contained in:
parent
6dfb60cda2
commit
a00ee26d17
@ -80,6 +80,9 @@
|
|||||||
}, {
|
}, {
|
||||||
'target_name': 'sharp-<(platform_and_arch)',
|
'target_name': 'sharp-<(platform_and_arch)',
|
||||||
'defines': [
|
'defines': [
|
||||||
|
'G_DISABLE_ASSERT',
|
||||||
|
'G_DISABLE_CAST_CHECKS',
|
||||||
|
'G_DISABLE_CHECKS',
|
||||||
'NAPI_VERSION=9',
|
'NAPI_VERSION=9',
|
||||||
'NODE_ADDON_API_DISABLE_DEPRECATED',
|
'NODE_ADDON_API_DISABLE_DEPRECATED',
|
||||||
'NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS'
|
'NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user