mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 13:03:31 +00:00
8a3390dff6
* new subpackage: knot-utils
12 lines
315 B
Diff
12 lines
315 B
Diff
--- a/src/utils/common/resolv.c
|
|
+++ b/src/utils/common/resolv.c
|
|
@@ -24,7 +24,7 @@
|
|
#include "libknot/libknot.h"
|
|
#include "contrib/ucw/lists.h"
|
|
|
|
-#define RESOLV_FILE "/etc/resolv.conf"
|
|
+#define RESOLV_FILE "@TERMUX_PREFIX@/etc/resolv.conf"
|
|
|
|
srv_info_t* parse_nameserver(const char *str, const char *def_port)
|
|
{
|