summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-07 20:30:46 +0800
committerruki <[email protected]>2020-11-07 20:30:46 +0800
commitd9de1aa6e08b684646c693dc4530fb5dc0d499a9 (patch)
tree0d985dcd7b115879eddd322f7fd9838b3636bb98 /xmake/core/package/package.lua
parentba62268d4a1cd7db9e66f52e08a393eb6cc2df90 (diff)
fix package/deps envs
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 52cdc2063..c2f91536b 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -422,7 +422,7 @@ function _instance:envs()
local envs = self._ENVS
if not envs then
envs = {}
- if self:kind() == "binary" or (self:is_plat("windows", "mingw") and self:config("shared")) then
+ if self:kind() == "binary" or self:is_plat("windows", "mingw") then -- bin/*.dll for windows
envs.PATH = {"bin"}
end
-- add LD_LIBRARY_PATH to load *.so directory