qtbase: build sql drivers as plugins

Since Qt 5.3.0, static plugin linking is taken care of automaticallly
by qmake, which removes the reason for building the sql drivers
into QtSql instead of as plugins. For shared builds, plugins is the
sensible choice too.
This commit is contained in:
Mark Brand 2014-12-09 10:40:40 +01:00
parent 119393a16d
commit 839eaf513b
1 changed files with 4 additions and 5 deletions

View File

@ -39,10 +39,10 @@ define $(PKG)_BUILD
-nomake examples \
-nomake tests \
-no-sql-mysql \
-qt-sql-sqlite \
-qt-sql-odbc \
-qt-sql-psql \
-qt-sql-tds -D Q_USE_SYBASE \
-plugin-sql-sqlite \
-plugin-sql-odbc \
-plugin-sql-psql \
-plugin-sql-tds -D Q_USE_SYBASE \
-system-zlib \
-system-libpng \
-system-libjpeg \
@ -86,5 +86,4 @@ endef
$(PKG)_BUILD_SHARED = $(subst -static ,-shared ,\
$(subst -qt-sql-,-plugin-sql-,\
$($(PKG)_BUILD)))