diff options
| -rw-r--r-- | xmake/modules/core/tools/iarchive.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/core/tools/ilinkarm.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/iarchive.lua b/xmake/modules/core/tools/iarchive.lua index 42a3009b0..2813650f9 100644 --- a/xmake/modules/core/tools/iarchive.lua +++ b/xmake/modules/core/tools/iarchive.lua @@ -21,5 +21,5 @@ inherit("ar") function init(self) - self:set("arflags", "-r") + self:set("arflags", "--create") end diff --git a/xmake/modules/core/tools/ilinkarm.lua b/xmake/modules/core/tools/ilinkarm.lua index 3c5a4a813..3bf6b012c 100644 --- a/xmake/modules/core/tools/ilinkarm.lua +++ b/xmake/modules/core/tools/ilinkarm.lua @@ -49,7 +49,7 @@ end -- make the linkdir flag function nf_linkdir(self, dir) - return {"-i" .. path.translate(dir)} + return {"-L" .. path.translate(dir)} end -- make the link arguments list |
