summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-04-07 16:30:41 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-04-07 19:17:24 +0300
commitce0ba5f4d752877ea06c87f2066f6ff753d6563d (patch)
treeef429846b398149a5dbf8c231bec814922d19f07
parent3671765a517c7faf8f7aa52e81e7244389ac304b (diff)
downloadqtlocation-mapboxgl-ce0ba5f4d752877ea06c87f2066f6ff753d6563d.tar.gz
[build] Fix libuv usage in OS X
-rw-r--r--gyp/mbgl.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gyp/mbgl.gyp b/gyp/mbgl.gyp
index 8c94bcb33b..ccf176eb67 100644
--- a/gyp/mbgl.gyp
+++ b/gyp/mbgl.gyp
@@ -53,6 +53,14 @@
'<@(libuv_ldflags)',
],
},
+
+ 'conditions': [
+ ['OS == "mac"', {
+ 'xcode_settings': {
+ 'OTHER_CPLUSPLUSFLAGS': [ '<@(libuv_cflags)' ],
+ }
+ }]
+ ],
}]
],
},