diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2023-05-26 10:11:11 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2023-05-27 12:57:16 -0700 |
| commit | 26dd7fe4edb8ed39ebf12cae874eb89e46ff9067 (patch) | |
| tree | 9a193b161641f67e66986b483415c6e98662414e /src/network/kernel/qdnslookup_unix.cpp | |
| parent | 369952fbd7163c9ae2fa6401b8da3a5dc5d2368b (diff) | |
CMake: remove "res_ninit" feature and collapse to just "libresolv"
Testing for "res_ninit" when WrapResolv.cmake has already checked for
far more complex functions was pointless. Instead, just accept the
library that was found by find_package() as good enough and rename the
feature as "libresolv".
Amends 4a46ba1209907796f4a14f6feb35ed4d70155d7d and
68b625901f9eb7c34e3d7aa302e1c0a454d3190b.
Change-Id: Ib5ce7a497e034ebabb2cfffd1762c0afa2fac6e0
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/kernel/qdnslookup_unix.cpp')
| -rw-r--r-- | src/network/kernel/qdnslookup_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qdnslookup_unix.cpp b/src/network/kernel/qdnslookup_unix.cpp index be8721f8da9..296c7034233 100644 --- a/src/network/kernel/qdnslookup_unix.cpp +++ b/src/network/kernel/qdnslookup_unix.cpp @@ -11,7 +11,7 @@ #include <private/qnativesocketengine_p.h> // for setSockAddr #include <private/qtnetwork-config_p.h> -QT_REQUIRE_CONFIG(res_ninit); +QT_REQUIRE_CONFIG(libresolv); #include <sys/types.h> #include <netinet/in.h> |
