package qwt_qt4: enable shared build

This commit is contained in:
Tony Theodore 2014-04-03 22:09:43 +11:00
parent 5c2759eae2
commit 615bf48432
2 changed files with 3 additions and 9 deletions

View File

@ -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

View File

@ -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