diff options
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 4575f454d..f5c38f337 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -1073,7 +1073,7 @@ function _instance:_rawenvs() envs.PATH = table.wrap(bindirs) elseif self:is_binary() then envs.PATH = {"bin"} - elseif os.host() == "windows" and self:is_plat("windows", "mingw") and self:config("shared") then + elseif os.host() == "windows" and self:is_plat("windows", "mingw") and self:is_arch(os.arch()) and self:config("shared") then -- bin/*.dll for windows envs.PATH = {"bin"} end |
