diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -24,6 +24,18 @@ case ${MASON_PLATFORM} in ZLIB_VERSION=system BOOST_VERSION=system ;; + 'android') + SQLITE_VERSION=3.8.6 + LIBPNG_VERSION=1.6.13 + LIBJPEG_VERSION=v8d + OPENSSL_VERSION=1.0.1i + LIBCURL_VERSION=7.38.0 + LIBUV_VERSION=0.11.29 + ZLIB_VERSION=system + BOOST_VERSION=1.57.0 + NUNICODE_VERSION=1.5.1 + LIBZIP_VERSION=0.11.2 + ;; *) GLFW_VERSION=e1ae9af5 SQLITE_VERSION=3.8.6 @@ -69,6 +81,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 @@ -127,6 +146,12 @@ if [ ! -z ${NUNICODE_VERSION} ]; then CONFIG+=" 'nu_ldflags': $(quote_flags $(mason ldflags nunicode ${NUNICODE_VERSION})),"$LN fi +if [ ! -z ${LIBZIP_VERSION} ]; then + mason install libzip ${LIBZIP_VERSION} + CONFIG+=" 'zip_static_libs': $(quote_flags $(mason static_libs libzip ${LIBZIP_VERSION})),"$LN + CONFIG+=" 'zip_cflags': $(quote_flags $(mason cflags libzip ${LIBZIP_VERSION})),"$LN + CONFIG+=" 'zip_ldflags': $(quote_flags $(mason ldflags libzip ${LIBZIP_VERSION})),"$LN +fi CONFIG+=" } } |