diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-02-16 02:10:47 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-02-16 02:10:47 (GMT) |
commit | 74ec5c077043587685d13e333b29b8bcba162d3f (patch) | |
tree | d114f66555431fbf8521e03d768f10b0c0ee1721 /src/qtbase.mk | |
parent | 33b2d8a24c8019b04231c413592baacc092c10cc (diff) | |
download | mxe-74ec5c077043587685d13e333b29b8bcba162d3f.zip mxe-74ec5c077043587685d13e333b29b8bcba162d3f.tar.gz mxe-74ec5c077043587685d13e333b29b8bcba162d3f.tar.bz2 |
package qtbase: enable shared build
Diffstat (limited to 'src/qtbase.mk')
-rw-r--r-- | src/qtbase.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/qtbase.mk b/src/qtbase.mk index b97ee08..fd88ccf 100644 --- a/src/qtbase.mk +++ b/src/qtbase.mk @@ -71,4 +71,15 @@ define $(PKG)_BUILD '$(TOP_DIR)/src/qt-test.cpp' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG)-pkgconfig.exe' \ -I'$(1)/test-$(PKG)-pkgconfig' \ `'$(TARGET)-pkg-config' Qt5Widgets --cflags --libs` + + # batch file to run test programs + (printf 'set PATH=..\\lib;..\\qt5\\bin;..\\qt5\\lib;%%PATH%%\r\n'; \ + printf 'set QT_QPA_PLATFORM_PLUGIN_PATH=..\\qt5\\plugins\r\n'; \ + printf 'test-qt5.exe\r\n'; \ + printf 'test-qtbase-pkgconfig.exe\r\n';) \ + > '$(PREFIX)/$(TARGET)/bin/test-qt5.bat' endef + +$(PKG)_BUILD_SHARED = $(subst -static ,-shared ,\ + $(subst -qt-sql-,-plugin-sql-,\ + $($(PKG)_BUILD))) |