forked from qt-creator/qt-creator
Utils: Fix MinGW build
Change-Id: I019651bb7de30595790cfe3b79a12579ce24410f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user