Utils: Fix MinGW build

Change-Id: I019651bb7de30595790cfe3b79a12579ce24410f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Christian Stenger
2022-02-17 09:53:56 +01:00
parent 9528762855
commit 01a0f41ed5

View File

@@ -13,6 +13,8 @@ Project {
var libs = []; var libs = [];
if (qbs.targetOS.contains("windows")) { if (qbs.targetOS.contains("windows")) {
libs.push("user32", "iphlpapi", "ws2_32", "shell32", "ole32"); libs.push("user32", "iphlpapi", "ws2_32", "shell32", "ole32");
if (qbs.toolchainType === "mingw")
libs.push("uuid");
} else if (qbs.targetOS.contains("unix")) { } else if (qbs.targetOS.contains("unix")) {
if (!qbs.targetOS.contains("macos")) if (!qbs.targetOS.contains("macos"))
libs.push("X11"); libs.push("X11");