Revision | baba4f5ec555c7ccf523a0fbe8ccf582058f95cf (tree) |
---|---|
Time | 2023-01-28 11:53:57 |
Author | Fs <Fsu0413@vip....> |
Commiter | Fs |
嘤嘤嘤
@@ -489,7 +489,11 @@ conf.Qt.generateConfTable = function(self, host, job) | ||
489 | 489 | |
490 | 490 | -- hack for static Qt 6.2 series: they can't be used without workaround of qt.conf |
491 | 491 | if staticBuild and (string.sub(confDetail.qtVersion, 1, 4) == "6.2.") then |
492 | - ret.EXTRAINSTALL = ret.EXTRAINSTALL .. copyCmd .. scriptPath .. confHost.pathSep .. ".." .. confHost.pathSep .. "qtconf-ForQt6.2Static" .. " " .. installRoot .. confHost.pathSep .. "bin" .. confHost.pathSep .. "qt.conf\n" | |
492 | + local scriptPathNative = scriptPath | |
493 | + if confHost.makefileTemplate == "win" then | |
494 | + scriptPathNative = string.gsub(scriptPath, "%/", "\\") | |
495 | + end | |
496 | + ret.EXTRAINSTALL = ret.EXTRAINSTALL .. copyCmd .. scriptPathNative .. confHost.pathSep .. ".." .. confHost.pathSep .. "qtconf-ForQt6.2Static" .. " " .. installRoot .. confHost.pathSep .. "bin" .. confHost.pathSep .. "qt.conf\n" | |
493 | 497 | end |
494 | 498 | |
495 | 499 | -- OpenSSL libraries |