This commit is contained in:
JPeterMugaas
2021-09-06 19:32:59 -04:00
parent c2c2d0254b
commit be5cb1b60b

View File

@@ -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
}