mbedtls: Update to 2.27.0
Instead of copying DLLs, use PATH variable to find DLLs while testing
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
_realname=mbedtls
|
||||
pkgbase="mingw-w64-${_realname}"
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=2.26.0
|
||||
pkgrel=3
|
||||
pkgver=2.27.0
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
|
||||
url='https://tls.mbed.org/'
|
||||
@@ -20,7 +20,7 @@ source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/ARMmbed/mbedtls/arc
|
||||
'dll-location.patch'
|
||||
'enable-features.patch'
|
||||
'add-winpthread-library.patch')
|
||||
sha256sums=('37949e823c7e1f6695fc56858578df355da0770c284b1c1304cfc8b396d539cd'
|
||||
sha256sums=('2a07856e541f0e5f6eaee4f78018c52f25bd244ed76f9020dea54a8b02cac6ea'
|
||||
'5c5e684de4e6295b838bd4aa3cb560221ca3b86fceab5632db15d97f6aa1e66f'
|
||||
'c6ed7ebe8bf21148e3f96eef62d1be1f5aacf3bff926dcf0837f2ff1d8fb5b2a'
|
||||
'ca8e32685891e3c167a0cb67ee4525b1889a3f59a0b5b0161deaf2869656a00b'
|
||||
@@ -62,8 +62,9 @@ build() {
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
cp -p library/*.dll tests/ # Tests are dynamically linked
|
||||
${MINGW_PREFIX}/bin/cmake.exe --build ./ --target test || true
|
||||
|
||||
# Tests are dynamically linked
|
||||
PATH=$PWD/library:$PATH ${MINGW_PREFIX}/bin/cmake.exe --build ./ --target test || true
|
||||
}
|
||||
|
||||
package () {
|
||||
|
||||
Reference in New Issue
Block a user