Re: [PATCH] rpcd CMakeLists.txt: drop legacy json-c support

2021-01-19 Thread Rosen Penev
On Mon, Jan 18, 2021 at 11:21 PM Sergey Ponomarev wrote: > > 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 > (http://sourceforge.net/projects/libjson/) which provides an incompatible >

[PATCH] rpcd CMakeLists.txt: drop legacy json-c support

2021-01-18 Thread Sergey Ponomarev
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 (http://sourceforge.net/projects/libjson/) which provides an incompatible API, so just drop it. Backported from libubox cbf80de7f4df61960f38