cjson: build shared and static library
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 31 Dec 2017 16:29:33 +0000 (17:29 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 3 Jan 2018 21:08:30 +0000 (22:08 +0100)
commitaca8412ce27fdb216e80145933baa13c15118719
tree02de5127ab66f619fc4baa9db8ad16b1778307d8
parentb6842c40977886058f3471973397872c880a0ddc
cjson: build shared and static library

cjson 1.6.0 added the BUILD_SHARED_AND_STATIC_LIBS option which is OFF
by default so set it depending on BR2_SHARED_STATIC_LIBS value.

If BUILD_SHARED_AND_STATIC_LIBS is set to OFF, cjson uses the standard
BUILD_SHARED_LIBS option which is passed by the cmake-package
infrastructure.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/cjson/cjson.mk