diff --git a/ChangeLog.md b/ChangeLog.md index 847ddc992..9fc275f46 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -17,6 +17,7 @@ Miscellaneous: - NDEBUG is now defined in Release - Replaced typedefs keywords with modern using keywords - When supported, projects are now parts of a virtual "workspace group" according to their kind +- Fixed .dll copy when building Nazara occuring on Linux when targeting Windows (MinGW) Nazara Engine: - VertexMapper:GetComponentPtr no longer throw an error if component is disabled or incompatible with template type, instead a null pointer is returned. diff --git a/build/scripts/common.lua b/build/scripts/common.lua index 5c1298fb1..20472cf0d 100644 --- a/build/scripts/common.lua +++ b/build/scripts/common.lua @@ -608,7 +608,7 @@ function NazaraBuild:LoadConfig() end function NazaraBuild:MakeInstallCommands(infoTable) - if (os.istarget("windows")) then + if (os.ishost("windows")) then filter("kind:SharedLib") postbuildmessage("Copying " .. infoTable.Name .. " library and its dependencies to install/executable directories...")