--- a/src/conffile.c
+++ b/src/conffile.c
@@ -97,7 +97,7 @@
     char * result = getenv("XDG_CONFIG_DIRS");
     if (result == 0)
       {
-        result = "/etc";
+        result = "@TERMUX_PREFIX@/etc";
           /* note spec actually says default should be /etc/xdg, but /etc is the
             conventional location for system config files. */
       } /*if*/