summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLeith Bade <leith@leithalweapon.geek.nz>2014-11-05 21:11:16 +1100
committerLeith Bade <leith@leithalweapon.geek.nz>2014-11-05 21:11:16 +1100
commit0cc43afab3295726259c6226e3239d3e3a8b90be (patch)
tree3816c6567f8621a11db6c49cac67d25db1b62545 /configure
parentecda8fb509716ba61e4e86744b02f378a1b902d5 (diff)
downloadqtlocation-mapboxgl-0cc43afab3295726259c6226e3239d3e3a8b90be.tar.gz
Add missing libs to android
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index a0ea9eea59..10f8508bfe 100755
--- a/configure
+++ b/configure
@@ -26,6 +26,9 @@ case ${MASON_PLATFORM} in
;;
'android')
SQLITE_VERSION=3.8.6
+ LIBPNG_VERSION=1.6.13
+ OPENSSL_VERSION=1.0.1i
+ LIBCURL_VERSION=7.38.0
LIBUV_VERSION=0.11.29
ZLIB_VERSION=system
BOOST_VERSION=1.57.0
@@ -75,6 +78,13 @@ if [ ! -z ${BOOST_VERSION} ]; then
CONFIG+=" 'boost_root': '$(mason prefix boost ${BOOST_VERSION})',"$LN
fi
+if [ ! -z ${OPENSSL_VERSION} ]; then
+ mason install openssl ${OPENSSL_VERSION}
+ CONFIG+=" 'openssl_static_libs': $(quote_flags $(mason static_libs openssl ${OPENSSL_VERSION})),"$LN
+ CONFIG+=" 'openssl_cflags': $(quote_flags $(mason cflags openssl ${OPENSSL_VERSION})),"$LN
+ CONFIG+=" 'openssl_ldflags': $(quote_flags $(mason ldflags openssl ${OPENSSL_VERSION})),"$LN
+fi
+
if [ ! -z ${LIBCURL_VERSION} ]; then
mason install libcurl ${LIBCURL_VERSION}
CONFIG+=" 'curl_static_libs': $(quote_flags $(mason static_libs libcurl ${LIBCURL_VERSION})),"$LN