diff options
| author | ruki <[email protected]> | 2021-04-28 00:53:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-04-28 00:53:47 +0800 |
| commit | e3986002e0b91d2a24227a487b88cbe3ef915563 (patch) | |
| tree | e92f470a5e003c4788fef6268dce1aa955efaa5d | |
| parent | 9f44201bbc86bde6e78fcf742ac0ec779cc3d3d0 (diff) | |
improve find_package
| -rw-r--r-- | xmake/modules/package/manager/xmake/find_package.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/package/manager/xmake/find_package.lua b/xmake/modules/package/manager/xmake/find_package.lua index f33a3c4e5..dab32de33 100644 --- a/xmake/modules/package/manager/xmake/find_package.lua +++ b/xmake/modules/package/manager/xmake/find_package.lua @@ -107,9 +107,11 @@ function _find_package_from_repo(name, opt) end if opt.plat == "windows" then for _, file in ipairs(os.files(path.join(installdir, "lib", "*.dll"))) do + result.shared = true table.insert(libfiles, file) end for _, file in ipairs(os.files(path.join(installdir, "bin", "*.dll"))) do + result.shared = true table.insert(libfiles, file) end end |
