diff options
author | Tony Theodore <tonyt@logyst.com> | 2016-08-06 16:11:13 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-08-06 16:11:13 (GMT) |
commit | ffda3812ac61eb496a7366c5d36863675aea0173 (patch) | |
tree | 8d801e69b984ccf62032dc48d1690557a9966d1b /plugins/examples/host-toolchain/qt5-host-tools.mk | |
parent | fcbd2fbcc797dd59ca5c1915ee70da4522b368eb (diff) | |
download | mxe-ffda3812ac61eb496a7366c5d36863675aea0173.zip mxe-ffda3812ac61eb496a7366c5d36863675aea0173.tar.gz mxe-ffda3812ac61eb496a7366c5d36863675aea0173.tar.bz2 |
host-toolchain plugin: fix shared libgcc and qt tools
add winpthreads until gcc is built once per arch #1019
fixes #950
Diffstat (limited to 'plugins/examples/host-toolchain/qt5-host-tools.mk')
-rw-r--r-- | plugins/examples/host-toolchain/qt5-host-tools.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/examples/host-toolchain/qt5-host-tools.mk b/plugins/examples/host-toolchain/qt5-host-tools.mk index 4904fef..0c91842 100644 --- a/plugins/examples/host-toolchain/qt5-host-tools.mk +++ b/plugins/examples/host-toolchain/qt5-host-tools.mk @@ -5,7 +5,7 @@ PKG := $(basename $(notdir $(lastword $(MAKEFILE_LIST)))) $(PKG)_FILE = $(qtbase_FILE) $(PKG)_PATCHES = $(realpath $(sort $(wildcard $(addsuffix /qtbase-[0-9]*.patch, $(TOP_DIR)/src)))) $(PKG)_SUBDIR = $(qtbase_SUBDIR) -$(PKG)_DEPS := gcc gcc-host make-w32-bin qtbase +$(PKG)_DEPS := gcc gcc-host make-w32-bin qtbase winpthreads-host # main configure options: -platform -host-option -external-hostbindir # further testing needed: -prefix -extprefix -hostprefix -sysroot -no-gcc-sysroot @@ -15,7 +15,7 @@ define $(PKG)_BUILD $(SED) -i 's,BUILD_ON_MAC=yes,BUILD_ON_MAC=no,g' '$(1)/configure' cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \ -prefix '$(PREFIX)/$(TARGET)/qt5' \ - -static \ + $(if $(BUILD_STATIC),-static,-shared) \ -release \ -c++std c++11 \ -platform win32-g++ \ |