summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/openvas-libraries/files/openvas-libraries-7.0.6-underlinking.patch')
-rw-r--r--net-analyzer/openvas-libraries/files/openvas-libraries-7.0.6-underlinking.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-7.0.6-underlinking.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-7.0.6-underlinking.patch
new file mode 100644
index 000000000000..a9c38159ba06
--- /dev/null
+++ b/net-analyzer/openvas-libraries/files/openvas-libraries-7.0.6-underlinking.patch
@@ -0,0 +1,32 @@
+ base/CMakeLists.txt | 18 ------------------
+ 1 file changed, 18 deletions(-)
+
+diff --git a/base/CMakeLists.txt b/base/CMakeLists.txt
+index b798f85..c724473 100644
+--- a/base/CMakeLists.txt
++++ b/base/CMakeLists.txt
+@@ -100,24 +100,6 @@ endif (OPENVAS_PID_DIR)
+
+ add_custom_indent_targets (${FILES})
+
+-# Link the test-hosts executable
+-if (BUILD_SHARED)
+- add_executable (test-hosts test-hosts.c)
+- target_link_libraries (test-hosts openvas_base_shared openvas_misc_shared ${GLIB_LDFLAGS} -lgcrypt
+- "${GPGME_LDFLAGS}" -lgnutls "${PCAP_LDFLAGS}" -lresolv -lm ${WMI_LIBS}
+- ${GPGME_LDFLAGS} ${LIBSSH_LDFLAGS} ${KSBA_LDFLAGS} ${WINCMD_LIBS})
+- set_target_properties (test-hosts PROPERTIES COMPILE_FLAGS
+- "${GLIB_CFLAGS} ${GPGME_CFLAGS} ${LIBSSH_CFLAGS} ${KSBA_CFLAGS}")
+-endif (BUILD_SHARED)
+-if (BUILD_STATIC)
+- add_executable (test-hosts test-hosts.c)
+- target_link_libraries (test-hosts openvas_base_static openvas_misc_static ${GLIB_LDFLAGS} -lgcrypt
+- "${GPGME_LDFLAGS}" -lgnutls "${PCAP_LDFLAGS}" -lresolv -lm ${WMI_LIBS}
+- ${GPGME_LDFLAGS} ${LIBSSH_LDFLAGS} ${KSBA_LDFLAGS} ${WINCMD_LIBS})
+- set_target_properties (test-hosts PROPERTIES COMPILE_FLAGS
+- "${GLIB_CFLAGS} ${GPGME_CFLAGS} ${LIBSSH_CFLAGS} ${KSBA_CFLAGS}")
+-endif (BUILD_STATIC)
+-
+ ## Install
+ if (BUILD_STATIC)
+ install (TARGETS openvas_base_static