From 630b8dabbf701ef9b490add3e6def10a74970d00 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 9 Feb 2021 22:35:25 +0800 Subject: improve core/tools and remove os.args --- xmake/modules/core/tools/cparser.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/modules/core/tools/cparser.lua') diff --git a/xmake/modules/core/tools/cparser.lua b/xmake/modules/core/tools/cparser.lua index e24ca87fc..a080268be 100644 --- a/xmake/modules/core/tools/cparser.lua +++ b/xmake/modules/core/tools/cparser.lua @@ -115,7 +115,7 @@ end -- make the includedir flag function nf_includedir(self, dir) - return "-I" .. os.args(dir) + return {"-I", dir} end -- make the sysincludedir flag @@ -135,7 +135,7 @@ end -- make the linkdir flag function nf_linkdir(self, dir) - return "-L" .. os.args(dir) + return {"-L", dir} end -- make the link arguments list -- cgit v1.3.1