default-locpath.patch (379B)
1 diff --git a/locale.c b/locale.c 2 index ede426d..856ae30 100644 3 --- a/locale.c 4 +++ b/locale.c 5 @@ -105,6 +105,7 @@ static int argp_parse(int argc, char *argv[]) 6 static void list_locale() 7 { 8 const char *locpath = getenv("MUSL_LOCPATH"); 9 + if (locpath == NULL) locpath = "/usr/share/i18n/locales/musl"; 10 printf("C\n"); 11 printf("C.UTF-8\n"); 12 if(locpath != NULL)