summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2014-10-29 19:09:13 -0400
committerDane Springmeyer <dane@mapbox.com>2014-10-29 19:09:13 -0400
commitad6d73e6b007dde53095209a8695cabfad9feb22 (patch)
tree46f65942dfdc277c51280acbfc34904f5694ab3f /linux
parentd8a93dbb9542ca6f05372221ee69c086b7750a4c (diff)
downloadqtlocation-mapboxgl-ad6d73e6b007dde53095209a8695cabfad9feb22.tar.gz
fix linux app linking to curl symbols
Diffstat (limited to 'linux')
-rw-r--r--linux/mapboxgl-app.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/mapboxgl-app.gyp b/linux/mapboxgl-app.gyp
index 027612cbd4..b8062829a1 100644
--- a/linux/mapboxgl-app.gyp
+++ b/linux/mapboxgl-app.gyp
@@ -23,6 +23,8 @@
'-I<(boost_root)/include',
],
'libraries': [
+ '-L<(PRODUCT_DIR)/',
+ '-lmbgl-linux' # hack: double-linking to workaround lack of start/end group support for /path/to/libmbgl-linux with g++-4.8
'<@(curl_static_libs)',
'<@(png_ldflags)',
'<@(sqlite3_ldflags)',