diff options
| author | ruki <[email protected]> | 2019-04-23 00:46:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-04-22 22:41:41 +0800 |
| commit | 622ffac19d48807ad132b26b06c10614612e76b9 (patch) | |
| tree | 8247b26cd5000b8051f70c8a86f8c693eff78ce4 /xmake/core/package/package.lua | |
| parent | 7e50a99af45fe32e6ea3567925b3ab19b67da0dc (diff) | |
improve autoconf
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 41ebaae6f..690197179 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -422,7 +422,8 @@ function _instance:build_envs(lazy_loading) end value = table.unique(table.join(table.wrap(value), self:config(key))) if #value > 0 then - rawset(tbl, key, os.args(value)) + value = table.unwrap(value) + rawset(tbl, key, value) return value end return rawget(tbl, key) |
