summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorartemp <artem@mapnik.org>2014-11-19 13:06:47 +0100
committerartemp <artem@mapnik.org>2014-11-19 13:06:47 +0100
commit759a5e65cf853d679650339e26fef25141ab1901 (patch)
tree56c18daefe394fa83e23d44143677460dc715fb3 /gyp
parent08357cfcf86ad0b6c8e8563767110ed50cbb2f56 (diff)
downloadqtlocation-mapboxgl-759a5e65cf853d679650339e26fef25141ab1901.tar.gz
simplify image_readers creation implementation
* remove static callbacks registration * link png_reader/jpeg_reader into mbgl-linux lib
Diffstat (limited to 'gyp')
-rw-r--r--gyp/mbgl-linux.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/gyp/mbgl-linux.gypi b/gyp/mbgl-linux.gypi
index a66a80ebfa..aee928685a 100644
--- a/gyp/mbgl-linux.gypi
+++ b/gyp/mbgl-linux.gypi
@@ -8,6 +8,7 @@
'variables': {
'cflags_cc': [
'<@(png_cflags)',
+ '<@(jpeg_cflags)',
'<@(uv_cflags)',
'<@(curl_cflags)',
'<@(nu_cflags)',
@@ -32,6 +33,8 @@
'../platform/default/http_request_baton_curl.cpp',
'../platform/default/image.cpp',
'../platform/default/image_reader.cpp',
+ '../platform/default/png_reader.cpp',
+ '../platform/default/jpeg_reader.cpp',
],
'include_dirs': [
'../include',