Skip to content

Commit a00ee26

Browse files
committed
Prevent glib assertions and checks #4351
1 parent 6dfb60c commit a00ee26

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/binding.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@
8080
}, {
8181
'target_name': 'sharp-<(platform_and_arch)',
8282
'defines': [
83+
'G_DISABLE_ASSERT',
84+
'G_DISABLE_CAST_CHECKS',
85+
'G_DISABLE_CHECKS',
8386
'NAPI_VERSION=9',
8487
'NODE_ADDON_API_DISABLE_DEPRECATED',
8588
'NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS'

0 commit comments

Comments
 (0)