summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-02 00:21:13 +0800
committerruki <[email protected]>2020-09-02 00:21:13 +0800
commit810fcb261f61552eb72a17bec858a9bb9a9384f3 (patch)
tree8af28387788c763ee2f0f3bda07a077a54c98638
parent88771a410a86d83ad35e4bc7e514934358395e3c (diff)
fix find_package
-rw-r--r--xmake/modules/package/manager/xmake/find_package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/xmake/find_package.lua b/xmake/modules/package/manager/xmake/find_package.lua
index b3a29d4e7..6466aca40 100644
--- a/xmake/modules/package/manager/xmake/find_package.lua
+++ b/xmake/modules/package/manager/xmake/find_package.lua
@@ -38,7 +38,7 @@ function _find_package_from_repo(name, opt)
-- find the manifest file of package, e.g. ~/.xmake/packages/z/zlib/1.1.12/ed41d5327fad3fc06fe376b4a94f62ef/manifest.txt
local packagedirs = {}
- table.insert(packagedirs, path.join(package.installdir(), name:sub(1, 1), name, opt.version, opt.buildhash))
+ table.insert(packagedirs, path.join(package.installdir(), name:lower():sub(1, 1), name:lower(), opt.version, opt.buildhash))
local manifest_file = find_file("manifest.txt", packagedirs)
if not manifest_file then
return