39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From 51ae02d8c9de1cb93bf22b2519efb119dd2e39d9 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Tuegel <ttuegel@gmail.com>
|
|
Date: Mon, 1 Dec 2014 17:22:55 -0600
|
|
Subject: [PATCH 02/11] dlopen-resolv
|
|
|
|
---
|
|
qtbase/src/network/kernel/qdnslookup_unix.cpp | 2 +-
|
|
qtbase/src/network/kernel/qhostinfo_unix.cpp | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/qtbase/src/network/kernel/qdnslookup_unix.cpp b/qtbase/src/network/kernel/qdnslookup_unix.cpp
|
|
index fa782da..912ecc7 100644
|
|
--- a/qtbase/src/network/kernel/qdnslookup_unix.cpp
|
|
+++ b/qtbase/src/network/kernel/qdnslookup_unix.cpp
|
|
@@ -79,7 +79,7 @@ static void resolveLibrary()
|
|
if (!lib.load())
|
|
#endif
|
|
{
|
|
- lib.setFileName(QLatin1String("resolv"));
|
|
+ lib.setFileName(QLatin1String("@glibc/lib/resolv"));
|
|
if (!lib.load())
|
|
return;
|
|
}
|
|
diff --git a/qtbase/src/network/kernel/qhostinfo_unix.cpp b/qtbase/src/network/kernel/qhostinfo_unix.cpp
|
|
index 90a6f76..758407a 100644
|
|
--- a/qtbase/src/network/kernel/qhostinfo_unix.cpp
|
|
+++ b/qtbase/src/network/kernel/qhostinfo_unix.cpp
|
|
@@ -95,7 +95,7 @@ static void resolveLibrary()
|
|
if (!lib.load())
|
|
#endif
|
|
{
|
|
- lib.setFileName(QLatin1String("resolv"));
|
|
+ lib.setFileName(QLatin1String("@glibc@/lib/libresolv"));
|
|
if (!lib.load())
|
|
return;
|
|
}
|
|
--
|
|
2.5.2
|
|
|