summaryrefslogtreecommitdiff
blob: e3c25f9b9c41ad371f41b189667f8fb2bf329391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- gvm-libs-9.0.3/base/CMakeLists.txt	2019-02-04 15:11:20.848707365 +0300
+++ gvm-libs-9.0.3/base/CMakeLists.txt	2019-02-04 15:40:27.745955904 +0300
@@ -88,7 +88,7 @@
       assuan libgpg-error ole32 ws2_32 ffi z shlwapi dnsapi winmm)
     target_link_libraries (openvas_base_shared ${W32LIBS})
   else (MINGW)
-    target_link_libraries (openvas_base_shared LINK_PRIVATE ${GLIB_LDFLAGS} ${GIO_LDFLAGS} ${ZLIB_LDFLAGS} ${GPGME_LDFLAGS} ${REDIS_LDFLAGS} ${LINKER_HARDENING_FLAGS})
+    target_link_libraries (openvas_base_shared LINK_PRIVATE ${LIBSSH_LDFLAGS} ${GLIB_LDFLAGS} ${GIO_LDFLAGS} ${ZLIB_LDFLAGS} ${GPGME_LDFLAGS} ${REDIS_LDFLAGS} ${LINKER_HARDENING_FLAGS})
   endif (MINGW)
 endif (BUILD_SHARED)
 
@@ -102,10 +102,10 @@
 
 # Link the test-hosts executable
 # TODO: This is currently only built for BUILD_SHARED
-if (BUILD_SHARED)
-  add_executable (test-hosts test-hosts.c)
-  target_link_libraries (test-hosts openvas_base_shared ${GLIB_LDFLAGS} ${REDIS_LDFLAGS})
-endif (BUILD_SHARED)
+#if (BUILD_SHARED)
+#  add_executable (test-hosts test-hosts.c)
+#  target_link_libraries (test-hosts openvas_base_shared ${GLIB_LDFLAGS} ${REDIS_LDFLAGS})
+#endif (BUILD_SHARED)
 
 ## Install
 if (BUILD_STATIC)
@@ -123,3 +123,4 @@
 endif (BUILD_SHARED)
 
 ## End
+
--- gvm-libs-9.0.3/misc/CMakeLists.txt	2019-02-04 15:11:20.847707368 +0300
+++ gvm-libs-9.0.3/misc/CMakeLists.txt	2019-02-04 15:49:34.035071570 +0300
@@ -146,7 +146,7 @@
   else (MINGW)
     target_link_libraries (openvas_misc_shared LINK_PRIVATE ${GNUTLS_LDFLAGS} openvas_base_shared ${UUID_LDFLAGS}
                            ${GLIB_LDFLAGS} ${PCAP_LDFLAGS} ${LIBSSH_LDFLAGS} ${LDAP_LDFLAGS}
-                           ${GCRYPT_LDFLAGS} ${RADIUS_LDFLAGS}
+                           ${REDIS_LDFLAGS} ${GCRYPT_LDFLAGS} ${RADIUS_LDFLAGS}
                            ${LINKER_HARDENING_FLAGS})
   endif (MINGW)
 endif (BUILD_SHARED)
@@ -198,3 +198,4 @@
            ARCHIVE DESTINATION ${LIBDIR}
            PUBLIC_HEADER DESTINATION "${INCLUDEDIR}/openvas/misc")
 endif (BUILD_SHARED)
+