From 1b7261ecadb3b38aa5d3f07046b7d1dadbea16f8 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 3 Apr 2014 22:16:23 +1100 Subject: package qwt: enable shared build --- src/qwt-1-fixes.patch | 9 --------- src/qwt.mk | 3 +++ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/qwt-1-fixes.patch b/src/qwt-1-fixes.patch index 80179ef..18b83a4 100644 --- a/src/qwt-1-fixes.patch +++ b/src/qwt-1-fixes.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.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 -- cgit v0.12