diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-10-10 20:46:11 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-10-10 20:46:11 (GMT) |
commit | a0a367c302376227ba54cf367e176b6dfbdc130d (patch) | |
tree | adef4ee50eae5d20c4d5eeb57765a75f9ab465c0 /src/qt-win32.patch | |
parent | ab6f5d201bcc64b90ff8b89596115c29566ed558 (diff) | |
download | mxe-a0a367c302376227ba54cf367e176b6dfbdc130d.zip mxe-a0a367c302376227ba54cf367e176b6dfbdc130d.tar.gz mxe-a0a367c302376227ba54cf367e176b6dfbdc130d.tar.bz2 |
disable a disturbing build mechanism which is unnecessary when cross compiling in package qt
Diffstat (limited to 'src/qt-win32.patch')
-rw-r--r-- | src/qt-win32.patch | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/qt-win32.patch b/src/qt-win32.patch index b177416..ec16fdc 100644 --- a/src/qt-win32.patch +++ b/src/qt-win32.patch @@ -43,7 +43,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. fi # auto-detect OpenGL support (es1 = OpenGL ES 1.x Common, es1cl = ES 1.x common lite, es2 = OpenGL ES 2.x) -@@ -5035,7 +5039,9 @@ +@@ -5035,7 +5037,9 @@ echo " You might need to modify the include and library search paths by editing" echo " QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in" echo " ${XQMAKESPEC}." @@ -54,7 +54,25 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. fi case "$PLATFORM" in hpux*) -@@ -7594,7 +7600,11 @@ +@@ -6087,11 +6091,12 @@ + QT_CONFIG="$QT_CONFIG freetype" + fi + +-if [ "x$PLATFORM_MAC" = "xyes" ]; then +- #On Mac we implicitly link against libz, so we +- #never use the 3rdparty stuff. +- [ "$CFG_ZLIB" = "yes" ] && CFG_ZLIB="system" +-fi ++# We're cross compiling, so we respect the user setting. ++#if [ "x$PLATFORM_MAC" = "xyes" ]; then ++# #On Mac we implicitly link against libz, so we ++# #never use the 3rdparty stuff. ++# [ "$CFG_ZLIB" = "yes" ] && CFG_ZLIB="system" ++#fi + if [ "$CFG_ZLIB" = "yes" ]; then + QT_CONFIG="$QT_CONFIG zlib" + elif [ "$CFG_ZLIB" = "system" ]; then +@@ -7594,7 +7599,11 @@ [ "$IN_ROOT" = "no" ] && continue case $a in |