diff options
| author | ruki <[email protected]> | 2021-02-09 22:35:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-09 22:35:25 +0800 |
| commit | 630b8dabbf701ef9b490add3e6def10a74970d00 (patch) | |
| tree | 68c912ecf3cb234db3b8e6dc839895ce911a797f /xmake/modules/core/tools/link.lua | |
| parent | 22bc93e3eac36f077583faa90f515d436e4945df (diff) | |
improve core/tools and remove os.args
Diffstat (limited to 'xmake/modules/core/tools/link.lua')
| -rw-r--r-- | xmake/modules/core/tools/link.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/link.lua b/xmake/modules/core/tools/link.lua index 26abc8983..9a70de9ce 100644 --- a/xmake/modules/core/tools/link.lua +++ b/xmake/modules/core/tools/link.lua @@ -78,7 +78,7 @@ function nf_symbol(self, level, target) local targetkind = target:get("kind") if level == "debug" and (targetkind == "binary" or targetkind == "shared") then if target and target.symbolfile then - flags = "-debug -pdb:" .. target:symbolfile() + flags = {"-debug", "-pdb:" .. target:symbolfile()} else flags = "-debug" end @@ -105,7 +105,7 @@ end -- make the linkdir flag function nf_linkdir(self, dir) - return "-libpath:" .. os.args(path.translate(dir)) + return {"-libpath:" .. path.translate(dir)} end -- make the link arguments list |
