Read the module cache from libdir as well
authorMatthias Clasen <mclasen@redhat.com>
Sat, 25 Aug 2012 16:12:22 +0000 (12:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 25 Aug 2012 16:19:38 +0000 (12:19 -0400)
commit930dc0e942804b45e0f86a68458e1ba7de0e250c
tree6290bc1b7846fc38cac1dc091284f94e58737fd4
parent6d6c556e9c725a4a69a94dbe045463ea4b855e4a
Read the module cache from libdir as well

This is following identical changes made to gdk-pixbuf loaders
and GTK+ immodules. We read the module cache file that is generated
by pango-querymodules from $libdir/pango/1.8.0/modules.cache.
This helps in situations where /etc needs to be readonly or empty.

The old location, $sysconfdir/pango/pango.modules, still works too.
pango/modules.c