From: Florian Ernst Subject: Ensure to only reference system cJSON during build Forwarded: not-needed Index: git/tools/meson.build =================================================================== --- git.orig/tools/meson.build +++ git/tools/meson.build @@ -40,7 +40,7 @@ if builtin_cjson endif if compile_prometheus - prometheuslib = static_library('prometheus', 'prometheus-exporter.c', include_directories: [inc, '../contrib/contrib_cJSON']) + prometheuslib = static_library('prometheus', 'prometheus-exporter.c', include_directories: inc) prometheus_dep = declare_dependency(link_with: prometheuslib, include_directories: include_directories('.'), dependencies: [microhttpd, cjson_lib]) tools_dependencies += prometheus_dep endif