Don't search for the "resolv" lib at runtime.

From: Christian Prochaska <christian.prochaska@genode-labs.com>


---
 src/network/kernel/qhostinfo_unix.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/network/kernel/qhostinfo_unix.cpp b/src/network/kernel/qhostinfo_unix.cpp
index 93a6c56..cc13a22 100644
--- a/src/network/kernel/qhostinfo_unix.cpp
+++ b/src/network/kernel/qhostinfo_unix.cpp
@@ -94,6 +94,7 @@ static res_state_ptr local_res = 0;
 
 static void resolveLibrary()
 {
+#ifndef Q_OS_GENODE
 #ifndef QT_NO_LIBRARY
     QLibrary lib(QLatin1String("resolv"));
     lib.setLoadHints(QLibrary::ImprovedSearchHeuristics);
@@ -119,6 +120,7 @@ static void resolveLibrary()
             local_res_ninit = 0;
     }
 #endif
+#endif /* Q_OS_GENODE */
 }
 
 QHostInfo QHostInfoAgent::fromName(const QString &hostName)
