Build: Copy .dll only if host is Windows

This commit is contained in:
Lynix
2018-08-08 10:35:49 +02:00
parent 8ffe7f14ba
commit 9ecfe31637
2 changed files with 2 additions and 1 deletions

View File

@@ -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...")