summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/libzip.vars10
1 files changed, 7 insertions, 3 deletions
diff --git a/vars/libzip.vars b/vars/libzip.vars
index 3c354121..43478f95 100644
--- a/vars/libzip.vars
+++ b/vars/libzip.vars
@@ -23,14 +23,18 @@ pkg_libzip_configure() {
-DCMAKE_INSTALL_PREFIX= \
-DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \
-DCMAKE_SYSTEM_NAME="Midipix" \
- -DENABLE_GNUTLS=:BOOL=OFF \
+ -DENABLE_GNUTLS=:BOOL=ON \
-DENABLE_MBEDTLS=:BOOL=OFF \
+ -DGNUTLS_INCLUDE_DIR="${PKG_PREFIX}/include" \
+ -DGNUTLS_LIBRARY="${PKG_PREFIX}/lib/libgnutls.lib.a" \
+ -DLIBLZMA_INCLUDE_DIR="${PKG_PREFIX}/include" \
+ -DLIBLZMA_LIBRARY="${PKG_PREFIX}/lib/liblzma.lib.a" \
+ -DNETTLE_INCLUDE_DIR="${PKG_PREFIX}/include" \
+ -DNETTLE_LIBRARY="${PKG_PREFIX}/lib/libnettle.lib.a" \
-DOPENSSL_CRYPTO_LIBRARY="${PKG_PREFIX}/lib/libcrypto.lib.a" \
-DOPENSSL_SSL_LIBRARY="${PKG_PREFIX}/lib/libssl.lib.a" \
-DZLIB_INCLUDE_DIR="${PKG_PREFIX}/include" \
-DZLIB_LIBRARY="${PKG_PREFIX}/lib/libz.a" \
- -DLIBLZMA_INCLUDE_DIR="${PKG_PREFIX}/include" \
- -DLIBLZMA_LIBRARY="${PKG_PREFIX}/lib/liblzma.lib.a" \
"../libzip-${PKG_VERSION}";
};