From be5cb1b60b12922ff971eb3e72a345793ae449c6 Mon Sep 17 00:00:00 2001 From: JPeterMugaas Date: Mon, 6 Sep 2021 19:32:59 -0400 Subject: [PATCH] Fux https://github.com/msys2/MINGW-packages/issues/9539 by including the test executable. --- mingw-w64-dlfcn/PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mingw-w64-dlfcn/PKGBUILD b/mingw-w64-dlfcn/PKGBUILD index 3f7b0cc0c4..e4edff6f49 100644 --- a/mingw-w64-dlfcn/PKGBUILD +++ b/mingw-w64-dlfcn/PKGBUILD @@ -4,7 +4,7 @@ _realname=dlfcn pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=1.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="A wrapper for dlfcn to the Win32 API (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') @@ -62,9 +62,8 @@ package() { install -Dm644 README.md "${pkgdir}${MINGW_PREFIX}/share/doc/${_realname}/README.md" install -Dm644 COPYING "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE" # We do not want transitive dependencies on libdll.dll so remove it - # as well as a test executable. # We installed static last so the CMake files pertain to a static # build already. - rm -rf ${pkgdir}${MINGW_PREFIX}/bin + rm -f ${pkgdir}${MINGW_PREFIX}/bin/libdl.dll rm -f ${pkgdir}${MINGW_PREFIX}/lib/libdl.dll.a }