[Openvas-commits] r6279 - in trunk/openvas-manager: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Dec 30 11:52:10 CET 2009


Author: felix
Date: 2009-12-30 11:52:09 +0100 (Wed, 30 Dec 2009)
New Revision: 6279

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/CMakeLists.txt
Log:
Applied patch from Vladimir Nadvornik to build static libraries only,
as shared libs are neither installed nor used.
	
* src/CMakeLists.txt: Declared libraries as static.


Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-12-29 18:03:24 UTC (rev 6278)
+++ trunk/openvas-manager/ChangeLog	2009-12-30 10:52:09 UTC (rev 6279)
@@ -1,3 +1,10 @@
+2009-12-30  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
+	Applied patch from Vladimir Nadvornik to build static libraries only,
+	as shared libs are neither installed nor used.
+	
+	* src/CMakeLists.txt: Declared libraries as static.
+
 2009-12-29  Matthew Mundell <matthew.mundell at intevation.de>
 
 	* src/tasks_sql.h (init_escalator_task_iterator)

Modified: trunk/openvas-manager/src/CMakeLists.txt
===================================================================
--- trunk/openvas-manager/src/CMakeLists.txt	2009-12-29 18:03:24 UTC (rev 6278)
+++ trunk/openvas-manager/src/CMakeLists.txt	2009-12-30 10:52:09 UTC (rev 6279)
@@ -65,16 +65,16 @@
 
 ## Libraries
 
-add_library (ovas-mngr-comm ovas-mngr-comm.c)
+add_library (ovas-mngr-comm STATIC ovas-mngr-comm.c)
 set_target_properties (ovas-mngr-comm PROPERTIES COMPILE_FLAGS "${GLIB_CFLAGS}")
 
-add_library (manage manage.c lsc_user.c)
+add_library (manage STATIC manage.c lsc_user.c)
 set_target_properties (manage PROPERTIES COMPILE_FLAGS "${HEADER_TEMP} ${TASKS_CFLAG} ${OPENVAS_CFLAGS} ${GLIB_CFLAGS}")
 
-add_library (omp omp.c)
+add_library (omp STATIC omp.c)
 set_target_properties (omp PROPERTIES COMPILE_FLAGS "${HEADER_TEMP} ${TASKS_CFLAG} ${OPENVAS_CFLAGS} ${GLIB_CFLAGS}")
 
-add_library (otp otp.c)
+add_library (otp STATIC otp.c)
 set_target_properties (otp PROPERTIES COMPILE_FLAGS "${HEADER_TEMP} ${TASKS_CFLAG} ${OPENVAS_CFLAGS} ${GLIB_CFLAGS}")
 
 ## Program



More information about the Openvas-commits mailing list