Skip to content

Commit

Permalink
poke: add optional json-c dependency
Browse files Browse the repository at this point in the history
From [1]:
"The poke machine-interface uses a protocol to communicate with
clients, which is based on JSON.  poke uses the json-c library to
parse and build JSON strings.
If this library is not found, poke will build without machine-interface
support."

[1] https://git.savannah.nongnu.org/cgit/poke.git/tree/DEPENDENCIES?h=releases/poke-1.2#n55

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
RomainNaour authored and kraj committed May 6, 2021
1 parent e17e159 commit a0f8491
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meta-oe/recipes-devtools/poke/poke_1.2.bb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ acpaths = "-I ./m4"

EXTRA_OECONF = "--disable-gui \
--disable-libnbd \
--disable-mi \
--with-libreadline-prefix=${STAGING_INCDIR} \
"

PACKAGECONFIG[mi] = "--enable-mi,--disable-mi,json-c"

FILES_${PN} += "${datadir}/emacs/site-lisp"

0 comments on commit a0f8491

Please sign in to comment.