summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2014-10-17 20:34:24 (GMT)
committerMark Brand <mabrand@mabrand.nl>2014-10-17 20:40:12 (GMT)
commit9e6c042e48a31d3f634cc3f1597d09f20404e89c (patch)
tree4ad6b66a6d0c842de3fc7f555717780e03457fb0 /src
parent2ccd7249f7bda2ae4747b210ad17bd40894a7d25 (diff)
downloadmxe-9e6c042e48a31d3f634cc3f1597d09f20404e89c.zip
mxe-9e6c042e48a31d3f634cc3f1597d09f20404e89c.tar.gz
mxe-9e6c042e48a31d3f634cc3f1597d09f20404e89c.tar.bz2
qt3d: fix static build
Diffstat (limited to 'src')
-rw-r--r--src/qt3d-1.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/qt3d-1.patch b/src/qt3d-1.patch
new file mode 100644
index 0000000..bc704d5
--- /dev/null
+++ b/src/qt3d-1.patch
@@ -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
+