diff options
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/detect/find_library.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_library.lua b/xmake/core/sandbox/modules/import/lib/detect/find_library.lua index 9b6fffcc8..4fb2618d3 100644 --- a/xmake/core/sandbox/modules/import/lib/detect/find_library.lua +++ b/xmake/core/sandbox/modules/import/lib/detect/find_library.lua @@ -60,7 +60,7 @@ function sandbox_lib_detect_find_library.main(names, paths, opt) for _, name in ipairs(table.wrap(names)) do for _, kind in ipairs(table.wrap(kinds)) do local filepath = find_file(target.filename(name, kind, {plat = opt.plat}), paths, opt) - if opt.plat == "mingw" or opt.plat == "msys" or opt.plat == "cygwin" then + if opt.plat == "mingw" then if not filepath and kind == "shared" then -- for implib/mingw, e.g. libxxx.dll.a filepath = find_file(target.filename(name, kind, {plat = opt.plat}) .. ".a", paths, opt) |
