--- mame-0.167s/src/emu/webengine.c.orig 2015-10-28 09:47:18.000000000 +0100 +++ mame-0.167s/src/emu/webengine.c 2015-11-03 17:33:54.905526764 +0100 @@ -9,7 +9,7 @@ ***************************************************************************/ #include "mongoose/mongoose.h" -#include "jsoncpp/include/json/json.h" +#include #include "emu.h" #include "emuopts.h" #include "ui/ui.h" --- mame-0.167s/scripts/src/3rdparty.lua.orig 2015-10-28 09:47:14.000000000 +0100 +++ mame-0.167s/scripts/src/3rdparty.lua 2015-11-03 17:35:43.775522156 +0100 @@ -435,6 +435,7 @@ -- jsoncpp library objects -------------------------------------------------- +if _OPTIONS["with-bundled-jsoncpp"] then project "jsoncpp" uuid "ae023ff3-d712-4e54-adc5-3b56a148650f" kind "StaticLib" @@ -458,6 +459,11 @@ "-Wshadow" } end +else +links { + "jsoncpp", +} +end -------------------------------------------------- -- SQLite3 library objects