From 0fea1101050ef38e94a8afa4febc8b681f769ff2 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Tue, 13 Dec 2022 16:13:19 +0100 Subject: tutorial: Fix use of new rule interface --- doc/tutorial/target-file-glob-tree.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/tutorial/target-file-glob-tree.org') 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"]] -- cgit v1.2.3