Debian Codegraph @

debian/patches/system_cJSON.patch

raw symbols SCIP
1 From: Florian Ernst <[email protected]>
2 Subject: Ensure to only reference system cJSON during build
3 Forwarded: not-needed
4
5 Index: git/tools/meson.build
6 ===================================================================
7 --- git.orig/tools/meson.build
8 +++ git/tools/meson.build
9 @@ -40,7 +40,7 @@ if builtin_cjson
10 endif
11
12 if compile_prometheus
13 - prometheuslib = static_library('prometheus', 'prometheus-exporter.c', include_directories: [inc, '../contrib/contrib_cJSON'])
14 + prometheuslib = static_library('prometheus', 'prometheus-exporter.c', include_directories: inc)
15 prometheus_dep = declare_dependency(link_with: prometheuslib, include_directories: include_directories('.'), dependencies: [microhttpd, cjson_lib])
16 tools_dependencies += prometheus_dep
17 endif