Issue #668: add the option to specify "cmake -DUSELOCALE_NEEDS_FREELOCALE=1" to work around a bug in older versions of FreeBSD (<12.4).

This commit is contained in:
Eric Hawicz
2023-07-30 13:38:15 -04:00
parent c8b0a90e95
commit 71d845e819
3 changed files with 9 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ option(ENABLE_THREADING "Enable partial threading support."
option(OVERRIDE_GET_RANDOM_SEED "Override json_c_get_random_seed() with custom code." OFF)
option(DISABLE_EXTRA_LIBS "Avoid linking against extra libraries, such as libbsd." OFF)
option(DISABLE_JSON_POINTER "Disable JSON pointer (RFC6901) support." OFF)
option(NEWLOCALE_NEEDS_FREELOCALE "Work around newlocale bugs in old FreeBSD by calling freelocale" OFF)
if (UNIX OR MINGW OR CYGWIN)