summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-04-03 11:09:43 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-04-03 11:09:43 (GMT)
commit615bf48432b8b9ac55fe6485e88f2937bb1cbc86 (patch)
tree5449df42ea0a36b4494ea1778f3cb8621b9d5cc1 /src
parent5c2759eae20acdd4dc80bdbceeb2e05403003484 (diff)
downloadmxe-615bf48432b8b9ac55fe6485e88f2937bb1cbc86.zip
mxe-615bf48432b8b9ac55fe6485e88f2937bb1cbc86.tar.gz
mxe-615bf48432b8b9ac55fe6485e88f2937bb1cbc86.tar.bz2
package qwt_qt4: enable shared build
Diffstat (limited to 'src')
-rw-r--r--src/qwt_qt4-1-fixes-crlf.patch9
-rw-r--r--src/qwt_qt4.mk3
2 files changed, 3 insertions, 9 deletions
diff --git a/src/qwt_qt4-1-fixes-crlf.patch b/src/qwt_qt4-1-fixes-crlf.patch
index 80179ef..18b83a4 100644
--- a/src/qwt_qt4-1-fixes-crlf.patch
+++ b/src/qwt_qt4-1-fixes-crlf.patch
@@ -12,12 +12,3 @@ See index.html for further information.
}
QWT_INSTALL_DOCS = $${QWT_INSTALL_PREFIX}/doc
-@@ -70,7 +70,7 @@
- # it will be a static library.
- ######################################################################
-
--QWT_CONFIG += QwtDll
-+#QWT_CONFIG += QwtDll
-
- ######################################################################
- # QwtPlot enables all classes, that are needed to use the QwtPlot
diff --git a/src/qwt_qt4.mk b/src/qwt_qt4.mk
index 4dd7266..f2f7123 100644
--- a/src/qwt_qt4.mk
+++ b/src/qwt_qt4.mk
@@ -15,6 +15,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ $(if $(BUILD_STATIC),\
+ echo "QWT_CONFIG -= QwtDll" >> '$(1)/qwtconfig.pri')
+
# build
cd '$(1)/src' && $(PREFIX)/$(TARGET)/qt/bin/qmake
$(MAKE) -C '$(1)/src' -f 'Makefile.Release' -j '$(JOBS)' install