summaryrefslogtreecommitdiffstats
path: root/src/qt.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2010-02-21 10:14:53 (GMT)
committerMark Brand <mabrand@mabrand.nl>2010-02-21 10:14:53 (GMT)
commit7f68c53a0bef8ab59bf45a05c75c95a61ebb65d3 (patch)
treec5d06c97702b6211ea1139f31ba62749948a99d6 /src/qt.mk
parentac9c34385720e16340f0e7c42ed82a7af5be610b (diff)
downloadmxe-7f68c53a0bef8ab59bf45a05c75c95a61ebb65d3.zip
mxe-7f68c53a0bef8ab59bf45a05c75c95a61ebb65d3.tar.gz
mxe-7f68c53a0bef8ab59bf45a05c75c95a61ebb65d3.tar.bz2
do not introduce QtCore4 in ssl.pri
It is not correct to add QtCore4 in ssl.pri when -lz is removed for qt-zlib. In mingw-cross-env we add QtCore4 to OPENSSL_LIBS so the zlib dependency of openssl is satisfied in case of qt-zlib. This is necessary for the time being because the QtCore4 in the link command that qmake generates appears before the contents of OPENSSL_LIBS.
Diffstat (limited to 'src/qt.mk')
-rw-r--r--src/qt.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qt.mk b/src/qt.mk
index 811a421..580752f 100644
--- a/src/qt.mk
+++ b/src/qt.mk
@@ -93,9 +93,11 @@ define $(PKG)_BUILD
# We prefer static mingw-cross-env system libs for static build:
# -system-zlib -system-libpng -system-libjpeg -system-libtiff -system-libmng -system-sqlite
# There is no -system-gif option. NB -system-libmng will not link in shared build.
- # Linking PSQL shared plugin requires PSQL_LIBS. Harmless for static build.
+ # Linking QtNetwork4.dll requires OPENSSL_LIBS. Harmless for static build.
+ # QtCore4 provides qt-zlib to openssl. Harmless for system-zlib.
+ # Linking qsqlpsql4.dll plugin requires PSQL_LIBS. Harmless for static build.
cd '$(1)' && \
- OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \
+ OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl` -lQtCore4" \
PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl`" ./configure \
-opensource \
-confirm-license \