summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/make.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-17 08:48:11 +0800
committerOpportunityLiu <[email protected]>2019-07-19 11:48:31 +0800
commit0a771e41e5057d2f6dc9dce3cbe2078cbc19aa83 (patch)
tree3478c553fbee0e2842dbe05196f5d742d518bf1b /xmake/modules/package/tools/make.lua
parentae533cdc5bcee78d7a24b64eac430d9197d0e043 (diff)
add path.splitenv
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
-rw-r--r--xmake/modules/package/tools/make.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/make.lua b/xmake/modules/package/tools/make.lua
index 13e72b310..4a7850185 100644
--- a/xmake/modules/package/tools/make.lua
+++ b/xmake/modules/package/tools/make.lua
@@ -59,8 +59,8 @@ function buildenvs(package)
table.insert(ACLOCAL_PATH, aclocal)
end
end
- envs.ACLOCAL_PATH = table.concat(ACLOCAL_PATH, path.envsep())
- envs.PKG_CONFIG_PATH = table.concat(PKG_CONFIG_PATH, path.envsep())
+ envs.ACLOCAL_PATH = path.joinenv(ACLOCAL_PATH)
+ envs.PKG_CONFIG_PATH = path.joinenv(PKG_CONFIG_PATH)
return envs
end