--- ./gio/gnetworking.h.in.orig	2021-12-10 19:44:29.271717902 +0530
+++ ./gio/gnetworking.h.in	2021-12-10 19:45:00.881717890 +0530
@@ -51,7 +51,7 @@
 #endif
 
 #ifndef _PATH_RESCONF
-#define _PATH_RESCONF "/etc/resolv.conf"
+#define _PATH_RESCONF "@TERMUX_PREFIX@/etc/resolv.conf"
 #endif
 
 #ifndef CMSG_LEN
