Stop linking a copy of _json_c_strerror() (strerror_override.c) into the tests.

That hasn't been needed since since commit 6068d3f, which changed that code to
 check an env var instead ("_JSON_C_STRERROR_ENABLE").
Fixes issue #812, about dup symbols in static builds with clang.
This commit is contained in:
Eric Haszlakiewicz committed 2023-03-28 23:08:39 +00:00
1 parent efd536af48
commit d0f32a5a43
6 files changed
+2 -21

No files matched your search

-1
View File
@@ -398,7 +398,6 @@ set(JSON_C_HEADERS
${PROJECT_SOURCE_DIR}/json_object_private.h
${PROJECT_SOURCE_DIR}/random_seed.h
${PROJECT_SOURCE_DIR}/strerror_override.h
${PROJECT_SOURCE_DIR}/strerror_override_private.h
${PROJECT_SOURCE_DIR}/math_compat.h
${PROJECT_SOURCE_DIR}/snprintf_compat.h
${PROJECT_SOURCE_DIR}/strdup_compat.h