summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2021-08-18 01:58:41 +0200
committerGitHub <[email protected]>2021-08-18 01:58:41 +0200
commit223158810ba64b31bdcbd0620cd28557d2e4d6c0 (patch)
treedd098dcb7f052384f63d933eff60ab8173d6c874
parentd4c897b55a21c44482fc9278b18aaec5d3bdb836 (diff)
Fix .dll not being copied on install with MinGW
-rw-r--r--xmake/modules/package/manager/xmake/find_package.lua2
1 files changed, 1 insertions, 1 deletions
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)