qt5base-lts/config.tests
Giuseppe D'Angelo 2708c6c11d OpenSSL: force the "1.0.0" soname when loading OpenSSL 1.0
Some Linux distributions patch OpenSSL's soname, making builds
on such distributions not deployable elsewhere. The problem is that
the code loading OpenSSL symbols would attempt to use the soname
of the build machine, and therefore not finding the OpenSSL
libraries on the deploy system.

The binary builds of Qt for Linux are affected by this problem,
as they build under RHEL7.4 which changes to soname of OpenSSL to
a non-standard string. This makes the binary builds not pick up
OpenSSL 1.0 from the machine where the build gets installed on.

Given that in the pre-1.1 versions only the 1.0 series is supported,
bump the minimum requirement of Qt to that. The 1.0.x releases
(up to 1.0.2, at the time of this writing) have kept binary
compatibility, and advertise a soname of "1.0.0", which is used
by most distributions.

So, if loading of OpenSSL with the build-time soname fails,
try to load them with the "1.0.0" hardcoded soname.

[ChangeLog][QtNetwork][SSL] OpenSSL >= 1.0 is now required to build
Qt with OpenSSL support.

Task-number: QTBUG-68156
Change-Id: Ieff1561a3c1d278b511f09fef06580f034f188c6
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2018-10-19 20:21:44 +00:00
..
arch configure: don't force debug build for arch & cpu feature tests 2017-08-02 16:36:32 +00:00
atomicfptr configure: un-namespace remaining non-inline configure tests 2017-08-02 16:38:00 +00:00
avx512 Add support for AVX-512 intrinsics found in MSVC 2017 15.3 2017-11-30 08:30:37 +00:00
common/pch Centralize the x86 SIMD testing in one place 2017-11-30 08:30:42 +00:00
corewlan configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
gnu-libiconv configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
iconv configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
openssl OpenSSL: force the "1.0.0" soname when loading OpenSSL 1.0 2018-10-19 20:21:44 +00:00
qpa/vulkan Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
stl configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
sun-libiconv configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
unix Clean up OS version checks for Apple platforms 2017-09-29 03:30:13 +00:00
verifyspec configure: un-namespace remaining non-inline configure tests 2017-08-02 16:38:00 +00:00
x11/xrender Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
x86_simd Centralize the x86 SIMD testing in one place 2017-11-30 08:30:42 +00:00
xlocalescanprint configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
.gitignore
.qmake.conf make also configure tests not see %LIB% and %INCLUDE% under mingw 2016-10-17 13:44:43 +00:00