summaryrefslogtreecommitdiff
path: root/xmake/modules/package/manager
diff options
context:
space:
mode:
authorfallenink <[email protected]>2021-04-29 15:32:02 +0800
committerfallenink <[email protected]>2021-04-29 15:32:02 +0800
commitdf6ca9ee326a838259e709804a403e0c2a2a8f51 (patch)
tree5e22ebf87e6efcd4368fa81a07b927dc17c6394c /xmake/modules/package/manager
parenta2577fc01bf133f866b6c92b504b8991bb679034 (diff)
parent9597a24c34cd2e47aab93c1a8a21914cff0c18a8 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'xmake/modules/package/manager')
-rw-r--r--xmake/modules/package/manager/xmake/find_package.lua2
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