summaryrefslogtreecommitdiff
path: root/gyp/mbgl-linux.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/mbgl-linux.gypi')
-rw-r--r--gyp/mbgl-linux.gypi9
1 files changed, 8 insertions, 1 deletions
diff --git a/gyp/mbgl-linux.gypi b/gyp/mbgl-linux.gypi
index 337e98039e..ca3e2afc54 100644
--- a/gyp/mbgl-linux.gypi
+++ b/gyp/mbgl-linux.gypi
@@ -7,6 +7,7 @@
'hard_dependency': 1,
'variables': {
'cflags_cc': [
+ '<@(png_cflags)',
'<@(uv_cflags)',
'<@(curl_cflags)',
],
@@ -14,6 +15,7 @@
'<@(uv_cflags)',
],
'ldflags': [
+ '<@(png_ldflags)',
'<@(uv_ldflags)',
'<@(curl_ldflags)',
],
@@ -23,10 +25,16 @@
'../platform/default/log_stderr.cpp',
'../platform/default/string_stdlib.cpp',
'../platform/default/http_request_baton_curl.cpp',
+ '../platform/default/image.cpp',
],
'include_dirs': [
'../include',
],
+ 'link_settings': {
+ 'libraries': [
+ '<@(png_static_libs)',
+ ],
+ },
'conditions': [
['OS == "mac"', {
'xcode_settings': {
@@ -34,7 +42,6 @@
'OTHER_CFLAGS': [ '<@(cflags)' ],
}
}, {
- 'ldflags': [ '<@(ldflags)' ],
'cflags_cc': [ '<@(cflags_cc)' ],
'cflags': [ '<@(cflags)' ],
}]