jsonfilter: drop legacy json-c support
authorSergey Ponomarev <stokito@gmail.com>
Tue, 19 Jan 2021 07:14:16 +0000 (09:14 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 29 Jun 2022 00:14:32 +0000 (02:14 +0200)
commit013b75ab0598e84be84aa6eda79827c12265988f
tree6709b47499b1cc0f36fefe474ec367ef5791e8d3
parentc7e938d6582a436dddc938539e72dd1320625c54
jsonfilter: drop legacy json-c support

The cmake logic is wrong (E.G. PKG_CHECK_FOR_MODULES fails unless all
modules are found), and the legacy libjson.so name is also used by the
other libjson (for example [1]) which provides an incompatible API,
so just drop it.

Backported from libubox cbf80de7f4df61960f386cb01a899cf4228d38f3

[1] http://sourceforge.net/projects/libjson/

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
[ wrapped commit description to 75 char limit ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
CMakeLists.txt