| 1 |
From: Florian Ernst <[email protected]> |
| 2 |
Date: Wed, 29 Jul 2026 15:10:35 +0200 |
| 3 |
Subject: Ensure to only reference system cJSON during build |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
--- |
| 7 |
tools/meson.build | 2 +- |
| 8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 |
|
| 10 |
diff --git a/tools/meson.build b/tools/meson.build |
| 11 |
index 0387627..7013bdb 100644 |
| 12 |
--- a/tools/meson.build |
| 13 |
+++ b/tools/meson.build |
| 14 |
@@ -40,7 +40,7 @@ if builtin_cjson |
| 15 |
endif |
| 16 |
|
| 17 |
if compile_prometheus |
| 18 |
|
| 19 |
+ prometheuslib = static_library('prometheus', 'prometheus-exporter.c', include_directories: inc) |
| 20 |
prometheus_dep = declare_dependency(link_with: prometheuslib, include_directories: include_directories('.'), dependencies: [microhttpd, cjson_lib]) |
| 21 |
tools_dependencies += prometheus_dep |
| 22 |
endif |