aboutsummaryrefslogtreecommitdiff
path: root/manual/conditions.md
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2019-06-23 20:55:31 +0800
committerruki <waruqi@gmail.com>2019-06-23 20:55:31 +0800
commit5c4032ec25a6b86ef7e4c097976a13373c3f5925 (patch)
tree4b0db6d1b3bc166ada82f77bec0a085047b0d31f /manual/conditions.md
parent6f7387e12aeac26276b520137101b7f97f1d2ada (diff)
downloadxmake-docs-5c4032ec25a6b86ef7e4c097976a13373c3f5925.tar.gz
xmake-docs-5c4032ec25a6b86ef7e4c097976a13373c3f5925.zip
fix some links
Diffstat (limited to 'manual/conditions.md')
-rw-r--r--manual/conditions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/conditions.md b/manual/conditions.md
index c516b81e..34b1fe48 100644
--- a/manual/conditions.md
+++ b/manual/conditions.md
@@ -108,7 +108,7 @@ Support hosts:
* linux
* macosx
-We can also get it from [$(host)](#var-host) or [os.host](#os-host).
+We can also get it from [$(host)](/manual/builtin_variables?id=varhost) or [os.host](/manual/builtin_modules?id=oshost).
### is_mode
@@ -293,7 +293,7 @@ but also the custom options defined through the [option](#option).
This interface is introduced from version 2.2.3 to detect whether a dependent package exists or is enabled.
-It is usually used to [add_requires](#add_requires).
+It is usually used to [add_requires](/zh-cn/manual/global_interfaces?id=add_requires).
```lua
add_requires("tbox", {optional = true})