gst1-plugins-base: bump to version 1.10.4
[buildroot-gz.git] / package / tinycbor / 0002-Fix-static-compilation-of-json2cbor.patch
blobdfea4ca68f73a644310a1d1e788fd75a66b8287c
1 From 1be7da8d81bbd52d722ec60250567ea876f6f4b5 Mon Sep 17 00:00:00 2001
2 From: Fabrice Fontaine <fabrice.fontaine@orange.com>
3 Date: Sat, 3 Dec 2016 20:15:41 +0100
4 Subject: [PATCH] Fix static compilation of json2cbor
6 json2cbor depends on cjson so tools/json2cbor/json2cbor.o must before
7 -lcjson
9 Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
10 ---
11 Makefile | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/Makefile b/Makefile
15 index 905fbdf..7b5fefc 100644
16 --- a/Makefile
17 +++ b/Makefile
18 @@ -115,7 +115,7 @@ bin/cbordump: $(CBORDUMP_SOURCES:.c=.o) lib/libtinycbor.a | bin
19 $(CC) -o $@ $(LDFLAGS) $^ $(LDLIBS) -lm
21 bin/json2cbor: $(JSON2CBOR_SOURCES:.c=.o) lib/libtinycbor.a | bin
22 - $(CC) -o $@ $(LDFLAGS) $(LDFLAGS_CJSON) $^ $(LDLIBS) -lm
23 + $(CC) -o $@ $(LDFLAGS) $^ $(LDFLAGS_CJSON) $(LDLIBS) -lm
25 tinycbor.pc: tinycbor.pc.in
26 $(SED) > $@ < $< \
27 --
28 2.5.0