Browse Source

Use json-c.pc instead of json.pc

master
Leif Middelschulte 8 years ago
parent
commit
9ab20a0569
  1. 2
      configure.ac
  2. 2
      src/sourcedrop.c

2
configure.ac

@ -27,7 +27,7 @@ MODULE_ARCH="$host_os-$host_cpu-$release"
AC_SUBST(MODULE_ARCH)
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
PKG_CHECK_MODULES(JSON, [json])
PKG_CHECK_MODULES(JSON, [json-c])
#
# Platform specific setup

2
src/sourcedrop.c

@ -1,5 +1,5 @@
#include <ctype.h>
#include <json/json.h>
#include <json.h>
#ifdef __linux__
#include <bsd/string.h> // strlcpy, etc. found in libbsd
#else

Loading…
Cancel
Save