diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2015-12-23 19:23:39 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-12-24 06:02:18 +0000 |
commit | 84f1ba016af9f1cc1b1d23f1af8360a3b60703fd (patch) | |
tree | 2c984733a39ac9d1d60e8fccfd394d2c6c3fd919 /testing | |
parent | 51dfbc3c09e8cc0d713af81923bbc99aa0f80f65 (diff) | |
download | aports-84f1ba016af9f1cc1b1d23f1af8360a3b60703fd.tar.bz2 aports-84f1ba016af9f1cc1b1d23f1af8360a3b60703fd.tar.xz |
testing/mbedtls: fixes #4537
fixes #4537
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mbedtls/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/mbedtls/APKBUILD b/testing/mbedtls/APKBUILD index bf26d105ae..dcbc6b6d0f 100644 --- a/testing/mbedtls/APKBUILD +++ b/testing/mbedtls/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mbedtls pkgver=2.2.0 -pkgrel=0 +pkgrel=1 pkgdesc="Light-weight cryptographic and SSL/TLS library" url="https://tls.mbed.org/" arch="all" @@ -27,12 +27,15 @@ prepare() { build() { cd "$_builddir" + # enable flags for non-embedded systems + sed -i -e 's|//\(#define MBEDTLS_THREADING_C\)|\1|' -e 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE="Release" \ -DUSE_SHARED_MBEDTLS_LIBRARY=1 \ || return 1 make || return 1 + make test || return 1 } package() { |