summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-03-19 22:38:13 +0800
committerruki <[email protected]>2019-03-19 09:49:19 +0800
commitd3068c73503934f120203f6a76b4f58a7fff83b5 (patch)
tree666ca4203afe4b8d5db765c3e447fadcdc01d512 /xmake/core/package/package.lua
parentd4046369a1d49bce0137cdd94f75906b9058c5ae (diff)
revert envs for binary package
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index e5c69e4e5..32a534bc5 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -321,6 +321,9 @@ function _instance:envs()
local envs = self._ENVS
if not envs then
envs = {}
+ if self:kind() == "binary" then
+ envs = {"bin"}
+ end
self._ENVS = envs
end
return envs