gentoo-ebuilds/net-analyzer/gvm-libs/files/gvm-libs-22.28.0-add-missing-link-to-cjson.patch
Giuseppe Foti 3dbe9ae69b
net-analyzer/gvm-libs: add 22.28.0
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43698
Closes: https://github.com/gentoo/gentoo/pull/43698
Signed-off-by: Florian Schmaus <flow@gentoo.org>
2025-09-13 17:03:00 +02:00

13 lines
379 B
Diff

# Upstream: https://github.com/greenbone/gvm-libs/pull/961
# Fix build error on clang with -Wl,--no-allow-shlib-undefined
--- a/http_scanner/CMakeLists.txt
+++ b/http_scanner/CMakeLists.txt
@@ -67,6 +67,7 @@ if(BUILD_SHARED)
gvm_util_shared
${GLIB_LDFLAGS}
${CURL_LDFLAGS}
+ ${CJSON_LDFLAGS}
${LINKER_HARDENING_FLAGS}
)
endif(BUILD_SHARED)