- Also fix misc issues with mingw-w64-qt5-base-static - Also provide static libs for mingw-w64-qt5-declarative and mingw-w64-qt5-tools (other modules are still on TODO list) - First approach to allow usage of static version via CMake - Use native OpenGL by default because this version seems less buggy and ANGLE is hard to maintain; this is also the default choice in MSYS2-MINGW-packages and MXE
15 lines
758 B
Diff
15 lines
758 B
Diff
--- qtbase-opensource-src-5.4.1/configure.orig 2015-02-17 05:56:22.000000000 +0100
|
|
+++ qtbase-opensource-src-5.4.1/configure 2015-03-21 17:08:54.138635641 +0100
|
|
@@ -3884,6 +3884,11 @@
|
|
# See if PKG_CONFIG is set in the mkspec:
|
|
PKG_CONFIG="`"$outpath/bin/qmake" -E -nocache -spec "$XQMAKESPEC" "CONFIG=" $DEV_NULL 2>&1 | sed -n -e 's,^PKG_CONFIG = \(.*\),\1,p'`"
|
|
[ -n "$PKG_CONFIG" ] && [ "$OPT_VERBOSE" = "yes" ] && echo "Found pkg-config from mkspec: $PKG_CONFIG"
|
|
+
|
|
+ if [ "$CFG_SHARED" = "no" ] ; then
|
|
+ PKG_CONFIG="$PKG_CONFIG --static"
|
|
+ [ "$OPT_VERBOSE" = "yes" ] && echo "Using '$PKG_CONFIG' because we're doing a static build"
|
|
+ fi
|
|
fi
|
|
if [ -z "$PKG_CONFIG" ]; then
|
|
PKG_CONFIG=`"$WHICH" pkg-config 2>/dev/null`
|