From 9356d6af3f34f1aaf9e96a2f5e2fdebb1771b982 Mon Sep 17 00:00:00 2001 From: Anuj Deshpande Date: Fri, 27 Apr 2018 15:25:07 +0530 Subject: [PATCH] cJSON : Include only source file objects - test.c can cause issues if there is another main function - Closes https://github.com/espressif/esp-idf/issues/1883 --- components/json/component.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/components/json/component.mk b/components/json/component.mk index a6a424e6d..7fbd5db1e 100644 --- a/components/json/component.mk +++ b/components/json/component.mk @@ -4,3 +4,4 @@ COMPONENT_ADD_INCLUDEDIRS := cJSON COMPONENT_SRCDIRS := cJSON COMPONENT_SUBMODULES := cJSON +COMPONENT_OBJS := cJSON/cJSON.o cJSON/cJSON_Utils.o