Mercurial > mxe-octave
diff src/qt.mk @ 796:ff77a4d178c4
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.
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sun, 21 Feb 2010 11:14:53 +0100 |
parents | 1aad4544b3f5 |
children | 6d2133800cef |
line wrap: on
line diff
--- a/src/qt.mk Sun Feb 21 14:22:32 2010 +0100 +++ b/src/qt.mk Sun Feb 21 11:14:53 2010 +0100 @@ -93,9 +93,11 @@ # 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 \