We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a83972 commit 6f5a408Copy full SHA for 6f5a408
addon.gypi
@@ -55,6 +55,14 @@
55
'standalone_static_library': '<(standalone_static_library)'
56
}],
57
58
+ ['_type!="executable"', {
59
+ 'conditions': [
60
+ [ 'OS=="android"', {
61
+ 'cflags!': [ '-fPIE' ],
62
+ }]
63
+ ]
64
+ }],
65
+
66
['_win_delay_load_hook=="true"', {
67
# If the addon specifies `'win_delay_load_hook': 'true'` in its
68
# binding.gyp, link a delay-load hook into the DLL. This hook ensures
@@ -138,10 +146,10 @@
138
146
'_FILE_OFFSET_BITS=64'
139
147
],
140
148
141
- [ 'OS in "freebsd openbsd netbsd solaris" or \
149
+ [ 'OS in "freebsd openbsd netbsd solaris android" or \
142
150
(OS=="linux" and target_arch!="ia32")', {
143
151
'cflags': [ '-fPIC' ],
144
- }]
152
145
153
]
154
}
155
0 commit comments