summaryrefslogtreecommitdiff
path: root/net-analyzer/gvm-libs/files/gvm-libs-22.28.0-add-missing-link-to-cjson.patch
blob: 41c52c8b4855da6286cd4da0e77916f71daecb4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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)