From c0c6d9d78e8a1ad2d927bfa2121db3d7a18272b4 Mon Sep 17 00:00:00 2001 From: Leith Bade Date: Thu, 6 Nov 2014 18:56:33 +1100 Subject: [PATCH] Link all libs statically --- android/mapboxgl-app.gyp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/android/mapboxgl-app.gyp b/android/mapboxgl-app.gyp index 98b6b4ba4..3d421942b 100644 --- a/android/mapboxgl-app.gyp +++ b/android/mapboxgl-app.gyp @@ -14,9 +14,17 @@ 'cflags_cc': [ '-I<(boost_root)/include', ], + 'libraries': [ + '<@(openssl_static_libs)', + '<@(curl_static_libs)', + '<@(png_static_libs)', + '<@(sqlite3_static_libs)', + '<@(uv_static_libs)', + '<@(nu_static_libs)', + ], 'variables': { 'ldflags': [ - '-llog -landroid -lEGL -lGLESv2 ' + '-llog -landroid -lEGL -lGLESv2 -lstdc++ -latomic ' '<@(png_ldflags)', '<@(sqlite3_ldflags)', '<@(openssl_ldflags)',