File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ ifeq ($(open_memstream-pass),)
82
82
endif
83
83
endif
84
84
85
- # json2cbor depends on an external library (cJSON )
85
+ # json2cbor depends on an external library (cjson )
86
86
ifneq ($(cjson-pass )$(system-cjson-pass ) ,)
87
87
JSON2CBOR_SOURCES = tools/json2cbor/json2cbor.c
88
88
INSTALL_TARGETS += $(bindir ) /json2cbor
89
89
ifeq ($(system-cjson-pass),1)
90
- LDFLAGS_CJSON = -lcJSON
90
+ LDFLAGS_CJSON = -lcjson
91
91
else
92
92
JSON2CBOR_SOURCES += src/cjson/cJSON.c
93
93
json2cbor_CCFLAGS = -I$(SRCDIR ) src/cjson
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ PROGRAM-gc_sections = int main() {}
10
10
CCFLAGS-gc_sections = -Wl,--gc-sections
11
11
12
12
PROGRAM-cjson = \#include <stdlib.h>\n
13
- PROGRAM-cjson += \#include <cJSON.h>\n
13
+ PROGRAM-cjson += \#include <cjson/ cJSON.h>\n
14
14
PROGRAM-cjson += int main() { return cJSON_False; }
15
15
CCFLAGS-cjson = -I$(dir $(MAKEFILE))src/cjson
16
16
PROGRAM-system-cjson = $(PROGRAM-cjson)
17
- CCFLAGS-system-cjson = -lcJSON
17
+ CCFLAGS-system-cjson = -lcjson
18
18
19
19
sink:
20
20
@echo >&2 Please run from the top-level Makefile.
Original file line number Diff line number Diff line change 27
27
#include "cbor.h"
28
28
#include "compilersupport_p.h"
29
29
30
- #include <cJSON.h>
30
+ #include <cjson/ cJSON.h>
31
31
32
32
#include <errno.h>
33
33
#include <math.h>
You can’t perform that action at this time.
0 commit comments