summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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