summaryrefslogtreecommitdiff
path: root/xmake/modules/package
diff options
context:
space:
mode:
authorruki <[email protected]>2019-03-11 22:48:45 +0800
committerruki <[email protected]>2019-03-11 10:52:35 +0800
commite6b992ae11a7a2fce3239e4e35b19240eff3ccf7 (patch)
treee06a2986bb3875d4b8dd0fda487728733a6339d9 /xmake/modules/package
parent8faab0d7801e89d8de4cb8cce990c943be41815f (diff)
rename some interfaces
Diffstat (limited to 'xmake/modules/package')
-rw-r--r--xmake/modules/package/manager/xmake/find_package.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/manager/xmake/find_package.lua b/xmake/modules/package/manager/xmake/find_package.lua
index cb00d5756..a3e907539 100644
--- a/xmake/modules/package/manager/xmake/find_package.lua
+++ b/xmake/modules/package/manager/xmake/find_package.lua
@@ -35,7 +35,7 @@ import("lib.detect.find_library")
function _find_package_from_repo(name, opt)
-- get build mode, e.g. debug_f7821231
- local mode = table.concat({opt.mode or "release", opt.configs_hash}, '_')
+ local mode = table.concat({opt.mode or "release", opt.buildhash}, '_')
-- get the prefix directories
local prefixdirs = table.wrap(opt.prefixdirs)
@@ -247,7 +247,7 @@ end
-- find package using the xmake package manager
--
-- @param name the package name
--- @param opt the options, .e.g {verbose = true, version = "1.12.x", configs_hash = "xxxxxx")
+-- @param opt the options, .e.g {verbose = true, version = "1.12.x", buildhash = "xxxxxx")
--
function main(name, opt)