diff options
| author | ruki <[email protected]> | 2021-08-18 22:31:47 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-18 22:31:47 +0800 |
| commit | 85d04f19bfb26b7b4f0d26d8625f2bbdb3ab23c7 (patch) | |
| tree | dd098dcb7f052384f63d933eff60ab8173d6c874 | |
| parent | d4c897b55a21c44482fc9278b18aaec5d3bdb836 (diff) | |
| parent | 223158810ba64b31bdcbd0620cd28557d2e4d6c0 (diff) | |
Merge pull request #1584 from SirLynix/patch-6
Fix .dll not being copied on install with MinGW
| -rw-r--r-- | xmake/modules/package/manager/xmake/find_package.lua | 2 |
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) |
