summaryrefslogtreecommitdiffstats
path: root/src/qwt.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-04-03 11:16:23 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-04-03 11:16:23 (GMT)
commit1b7261ecadb3b38aa5d3f07046b7d1dadbea16f8 (patch)
treef8c0c1212f9561b58ead6ee6a3f6ff813f64493f /src/qwt.mk
parent577159f4e9da376ead3c9fcbc92915d87734370f (diff)
downloadmxe-1b7261ecadb3b38aa5d3f07046b7d1dadbea16f8.zip
mxe-1b7261ecadb3b38aa5d3f07046b7d1dadbea16f8.tar.gz
mxe-1b7261ecadb3b38aa5d3f07046b7d1dadbea16f8.tar.bz2
package qwt: enable shared build
Diffstat (limited to 'src/qwt.mk')
-rw-r--r--src/qwt.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qwt.mk b/src/qwt.mk
index e61445e..0f14e5c 100644
--- a/src/qwt.mk
+++ b/src/qwt.mk
@@ -17,6 +17,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ $(if $(BUILD_STATIC),\
+ echo "QWT_CONFIG -= QwtDll" >> '$(1)/qwtconfig.pri')
+
# build
cd '$(1)/src' && $(PREFIX)/$(TARGET)/qt5/bin/qmake
$(MAKE) -C '$(1)/src' -f 'Makefile.Release' -j '$(JOBS)' install