The eglibc sources are currently compiled with `GCONV_PATH` set to
`/usr/lib/gconv`. This means that `iconvconfig` and iconv operations only look
in `/usr/lib/gconv` for the `gconv-modules` file and actual gconv modules
(e.g.: `IBM901.so`).
I think that it would be helpful to be able to install gconv modules to
`/usr/local/lib/gconv`. This can be easily accomplished by making sure that the
value of `GCONV_PATH` is `/usr/lib/gconv:/usr/local/lib/gconv` during
compilation. eglibc and glibc sources can handle multiple directories in this
variable because `GCONV_PATH` is already split at colons. Here, for example, is
code from `libc/iconv/iconvconfig.c`:
if (! nostdlib)
{
/* In any case also handle the standard directory. */
char *path = strdupa (GCONV_PATH), *tp = strsep (&path, ":");
while (tp != NULL)
{
status |= handle_dir (tp);
tp = strsep (&path, ":");
}
}