summaryrefslogtreecommitdiff
path: root/gyp/asset-fs.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/asset-fs.gypi')
-rw-r--r--gyp/asset-fs.gypi17
1 files changed, 17 insertions, 0 deletions
diff --git a/gyp/asset-fs.gypi b/gyp/asset-fs.gypi
index 0606eaf7f8..f8ec0e3558 100644
--- a/gyp/asset-fs.gypi
+++ b/gyp/asset-fs.gypi
@@ -25,6 +25,9 @@
'libraries': [
'<@(uv_static_libs)',
],
+ 'defines': [
+ '-DMBGL_ASSET_FS'
+ ],
},
'conditions': [
@@ -37,6 +40,20 @@
}],
],
+ 'direct_dependent_settings': {
+ 'conditions': [
+ ['OS == "mac"', {
+ 'xcode_settings': {
+ 'OTHER_CFLAGS': [ '<@(defines)' ],
+ 'OTHER_CPLUSPLUSFLAGS': [ '<@(defines)' ],
+ }
+ }, {
+ 'cflags': [ '<@(defines)' ],
+ 'cflags_cc': [ '<@(defines)' ],
+ }]
+ ],
+ },
+
'link_settings': {
'conditions': [
['OS == "mac"', {