aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manual.md3
-rw-r--r--zh/manual.md3
2 files changed, 2 insertions, 4 deletions
diff --git a/manual.md b/manual.md
index c5a18c16..524ea1b6 100644
--- a/manual.md
+++ b/manual.md
@@ -100,8 +100,7 @@ end
-- if the current platform is macosx or iphoneos
if is_plat("macosx", "iphoneos") then
- add_mxflags("-framework Foundation")
- add_ldflags("-framework Foundation")
+ add_frameworks("Foundation")
end
```
diff --git a/zh/manual.md b/zh/manual.md
index bac09694..be4e5e1f 100644
--- a/zh/manual.md
+++ b/zh/manual.md
@@ -103,8 +103,7 @@ end
-- 如果当前平台是macosx或者iphoneos
if is_plat("macosx", "iphoneos") then
- add_mxflags("-framework Foundation")
- add_ldflags("-framework Foundation")
+ add_frameworks("Foundation")
end
```