--- gio/xdgmime/xdgmime.c.orig 2018-05-22 06:42:46.000000000 -0500 +++ gio/xdgmime/xdgmime.c 2018-05-25 22:07:10.000000000 -0500 @@ -255,7 +255,7 @@ xdg_data_dirs = getenv ("XDG_DATA_DIRS"); if (xdg_data_dirs == NULL) - xdg_data_dirs = "/usr/local/share/:/usr/share/"; + xdg_data_dirs = "@PREFIX@/share/:/usr/share/"; ptr = xdg_data_dirs;