mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01: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:
parent
65be80c3ed
commit
3529bb4450
@ -117,10 +117,6 @@ _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);
|
||||
|
||||
/* Concatenate dir and base into freshly allocated file_name. */
|
||||
|
Loading…
Reference in New Issue
Block a user