summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2025-05-08 09:52:49 +0200
committerGitHub <[email protected]>2025-05-08 09:52:49 +0200
commit94ff814233e3f12cb599b0a3414c8e4cb30449eb (patch)
treec11d92063e00affee3691bed76afc191b4817e39
parent0105e6da7e9589e1ac0ae17597accbd4e0543ecc (diff)
Update find_package.lua
-rw-r--r--xmake/modules/package/manager/cargo/find_package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/cargo/find_package.lua b/xmake/modules/package/manager/cargo/find_package.lua
index f2c7a8919..768cbbfa6 100644
--- a/xmake/modules/package/manager/cargo/find_package.lua
+++ b/xmake/modules/package/manager/cargo/find_package.lua
@@ -138,7 +138,7 @@ function main(name, opt)
local frameworkdirs = {}
table.insert(frameworkdirs, librarydir)
- if os.exists(librarydir_host) then
+ if os.isdir(librarydir_host) then
table.insert(frameworkdirs, librarydir_host)
end