qt5base-lts/tests/auto/network
Amir Masoud Abdol 68b625901f Network: link directly to libresolv instead of dlopen()ing it
There's little need for us to dynamically load it. The reasons why that
was necessary aren't in the public history (Qt 4.5 already had it[1]). I
remember writing the code in 2007-2008, I just don't remember why.

On modern Linux and FreeBSD, there's no libresolv.so any more and those
symbols have been rolled up into libc.so. It's still necessary on Darwin
systems, so this commit introduces WrapResolv.

It also resolves the unity build issues relating to libresolv symbols.

[1] https://code.qt.io/cgit/qt/qt.git/tree/src/network/kernel/qhostinfo_unix.cpp?h=v4.5.1

Task-number: QTBUG-109394
Change-Id: Ic5799e4d000b6c9395109e008780643bac52122b
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2023-05-11 17:05:25 -07:00
..
access Hsts: match header names case insensitively 2023-05-08 20:28:46 +02:00
kernel Network: link directly to libresolv instead of dlopen()ing it 2023-05-11 17:05:25 -07:00
selftest Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
socket Network tests: drop testing ftp proxy server 2023-04-20 16:10:03 +02:00
ssl tst_QSslCertificate: Make it easier to check which backend is used 2023-04-25 23:39:24 +02:00
CMakeLists.txt Rid of 'special case' markers 2023-04-13 18:30:58 +02:00