summaryrefslogtreecommitdiff
path: root/doc/tutorial/target-file-glob-tree.org
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-12-13 16:13:19 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-12-16 10:26:39 +0100
commit0fea1101050ef38e94a8afa4febc8b681f769ff2 (patch)
tree24ca4d92556c47792a57e290742c50076d5486c6 /doc/tutorial/target-file-glob-tree.org
parent050969887e95912164956dfbf200d06ee337c46c (diff)
downloadjustbuild-0fea1101050ef38e94a8afa4febc8b681f769ff2.tar.gz
tutorial: Fix use of new rule interface
Diffstat (limited to 'doc/tutorial/target-file-glob-tree.org')
-rw-r--r--doc/tutorial/target-file-glob-tree.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tutorial/target-file-glob-tree.org b/doc/tutorial/target-file-glob-tree.org
index bc1d388d..72ea1732 100644
--- a/doc/tutorial/target-file-glob-tree.org
+++ b/doc/tutorial/target-file-glob-tree.org
@@ -282,7 +282,7 @@ attempt of defining the binary is as follows.
, "units":
{ "type": ["@", "rules", "CC", "binary"]
, "name": ["units"]
- , "link external": ["-lm"]
+ , "private-ldflags": ["-lm"]
, "pure C": ["YES"]
, "srcs": [["GLOB", null, "*.c"]]
, "private-hdrs": [["GLOB", null, "*.h"]]
@@ -345,7 +345,7 @@ Then we amend our ~"units"~ target.
, "units":
{ "type": ["@", "rules", "CC", "binary"]
, "name": ["units"]
- , "link external": ["-lm"]
+ , "private-ldflags": ["-lm"]
, "pure C": ["YES"]
, "srcs": ["patched srcs"]
, "private-hdrs": [["GLOB", null, "*.h"]]