summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2014-11-17 19:23:36 +1100
committerLeith Bade <leith@mapbox.com>2014-11-17 19:23:36 +1100
commitc092a686a7d898fef5d1436d49d36b4129af11ee (patch)
tree3aa80bd74481810f32951663fe8984355fe981f2 /configure
parentd957d65bef158c056f80163f5609be216fb134a8 (diff)
downloadqtlocation-mapboxgl-c092a686a7d898fef5d1436d49d36b4129af11ee.tar.gz
Add libzip
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 10f8508bfe..829bae7f99 100755
--- a/configure
+++ b/configure
@@ -33,6 +33,7 @@ case ${MASON_PLATFORM} in
ZLIB_VERSION=system
BOOST_VERSION=1.57.0
NUNICODE_VERSION=1.4
+ LIBZIP_VERSION=0.11.2
;;
*)
GLFW_VERSION=a21f2377
@@ -136,6 +137,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+=" }
}