mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 01:48:53 +02:00
libcharset: Drop a redundant environment variable
It was used for running tests when we built with autotools, but is no longer used in the Meson build system. If we need something similar in future, it should be done by adding internal API to override the directory on a per-call basis, rather than loading a path from a shared global table every time. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1919
This commit is contained in:
committed by
Michael Catanzaro
parent
db15e8bc63
commit
ece6614116
@@ -117,11 +117,7 @@ _g_locale_get_charset_aliases (void)
|
||||
const char *base = "charset.alias";
|
||||
char *file_name;
|
||||
|
||||
/* Make it possible to override the charset.alias location. This is
|
||||
necessary for running the testsuite before "make install". */
|
||||
dir = getenv ("CHARSETALIASDIR");
|
||||
if (dir == NULL || dir[0] == '\0')
|
||||
dir = relocate (GLIB_CHARSETALIAS_DIR);
|
||||
dir = relocate (GLIB_CHARSETALIAS_DIR);
|
||||
|
||||
/* Concatenate dir and base into freshly allocated file_name. */
|
||||
{
|
||||
|
Reference in New Issue
Block a user