Use json-c.pc instead of json.pc
This commit is contained in:
parent
d70da90ad1
commit
9ab20a0569
|
@ -27,7 +27,7 @@ MODULE_ARCH="$host_os-$host_cpu-$release"
|
||||||
AC_SUBST(MODULE_ARCH)
|
AC_SUBST(MODULE_ARCH)
|
||||||
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
|
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
|
||||||
|
|
||||||
PKG_CHECK_MODULES(JSON, [json])
|
PKG_CHECK_MODULES(JSON, [json-c])
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform specific setup
|
# Platform specific setup
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <json/json.h>
|
#include <json.h>
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <bsd/string.h> // strlcpy, etc. found in libbsd
|
#include <bsd/string.h> // strlcpy, etc. found in libbsd
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue