Fux https://github.com/msys2/MINGW-packages/issues/9539 by including the test executable.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user