From 223158810ba64b31bdcbd0620cd28557d2e4d6c0 Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Wed, 18 Aug 2021 01:58:41 +0200 Subject: Fix .dll not being copied on install with MinGW --- xmake/modules/package/manager/xmake/find_package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/package/manager/xmake/find_package.lua b/xmake/modules/package/manager/xmake/find_package.lua index 9f565c2b1..a44744ad2 100644 --- a/xmake/modules/package/manager/xmake/find_package.lua +++ b/xmake/modules/package/manager/xmake/find_package.lua @@ -99,7 +99,7 @@ function _find_package_from_repo(name, opt) table.insert(linkdirs, path.join(installdir, libdir)) end end - if opt.plat == "windows" then + if opt.plat == "windows" or opt.plat == "mingw" then for _, file in ipairs(os.files(path.join(installdir, "lib", "*.dll"))) do result.shared = true table.insert(libfiles, file) -- cgit v1.3.1