qt3d: fix static build

This commit is contained in:
Mark Brand 2014-10-17 22:34:24 +02:00
parent 2ccd7249f7
commit 9e6c042e48
1 changed files with 38 additions and 0 deletions

38
src/qt3d-1.patch Normal file
View File

@ -0,0 +1,38 @@
This file is part of MXE.
See index.html for further information.
From f38bd703f75e6cdf234ed8e99560bd65e4f775ea Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Fri, 17 Oct 2014 22:30:46 +0200
Subject: [PATCH] fix static linking
diff --git a/src/quick3d/quick3d.pro b/src/quick3d/quick3d.pro
index 03cdd28..5b8e2ef 100644
--- a/src/quick3d/quick3d.pro
+++ b/src/quick3d/quick3d.pro
@@ -9,7 +9,7 @@ gcov {
CONFIG += static
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
-} else {
+} else:!static {
CONFIG += dll
}
diff --git a/src/threed/threed.pro b/src/threed/threed.pro
index cb5f1d1..8d2be9b 100644
--- a/src/threed/threed.pro
+++ b/src/threed/threed.pro
@@ -11,7 +11,7 @@ gcov {
CONFIG += static
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
-} else {
+} else:!static {
CONFIG += dll
}
--
1.8.4.5