aboutsummaryrefslogtreecommitdiff
path: root/zh-cn/manual/conditions.md
diff options
context:
space:
mode:
Diffstat (limited to 'zh-cn/manual/conditions.md')
-rw-r--r--zh-cn/manual/conditions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/zh-cn/manual/conditions.md b/zh-cn/manual/conditions.md
index 5de829fd..c84fc5e5 100644
--- a/zh-cn/manual/conditions.md
+++ b/zh-cn/manual/conditions.md
@@ -121,7 +121,7 @@ end
* linux
* macosx
-你也可以通过[$(host)](#var-host)内置变量或者[os.host](#os-host)接口,来进行获取
+你也可以通过[$(host)](/zh-cn/manual/builtin_variables?id=varhost)内置变量或者[os.host](/zh-cn/manual/builtin_modules?id=oshost)接口,来进行获取
### is_mode
@@ -314,7 +314,7 @@ $ xmake f --test1=false
此接口从2.2.3版本开始引入,用于检测远程依赖包是否存在或启用,可用于描述域。
-一般配合[add_requires](#add_requires)一起使用,例如:
+一般配合[add_requires](/zh-cn/manual/global_interfaces?id=add_requires)一起使用,例如:
```lua
add_requires("tbox", {optional = true})