mirror of
https://github.com/json-c/json-c.git
synced 2026-03-31 19:09:07 +08:00
PR #336: since we can't use function overriding (due to problems with it on
OSX) always include the _json_c_strerror function but only enable it with a flag during tests.
This commit is contained in:
@@ -51,14 +51,8 @@ libjson_c_la_SOURCES = \
|
||||
json_visit.c \
|
||||
linkhash.c \
|
||||
printbuf.c \
|
||||
random_seed.c
|
||||
|
||||
if ENABLE_STRERROR_OVERRIDE
|
||||
libjson_cinclude_HEADERS+= \
|
||||
strerror_override.h
|
||||
libjson_c_la_SOURCES+= \
|
||||
random_seed.c \
|
||||
strerror_override.c
|
||||
endif
|
||||
|
||||
distclean-local:
|
||||
-rm -rf $(testsubdir)
|
||||
|
||||
Reference in New Issue
Block a user