[Openvas-commits] r6244 - in trunk/openvas-administrator: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Dec 23 10:13:46 CET 2009


Author: felix
Date: 2009-12-23 10:13:42 +0100 (Wed, 23 Dec 2009)
New Revision: 6244

Modified:
   trunk/openvas-administrator/ChangeLog
   trunk/openvas-administrator/src/CMakeLists.txt
Log:
Applied patch from Vladimir Nadvornik. Compiled libraries do not need
to be shared, but can be static instead. This closes the administrator-
part of bug #1227 (http://bugs.openvas.org/1227).

* src/CMakeLists.txt: Declare admin and oap library as static.


Modified: trunk/openvas-administrator/ChangeLog
===================================================================
--- trunk/openvas-administrator/ChangeLog	2009-12-23 07:49:37 UTC (rev 6243)
+++ trunk/openvas-administrator/ChangeLog	2009-12-23 09:13:42 UTC (rev 6244)
@@ -1,3 +1,11 @@
+2009-12-23  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
+	Applied patch from Vladimir Nadvornik. Compiled libraries do not need
+	to be shared, but can be static instead. This closes the administrator-
+	part of bug #1227 (http://bugs.openvas.org/1227).
+
+	* src/CMakeLists.txt: Declare admin and oap library as static.
+
 2009-12-21  Michael Wiegand <michael.wiegand at intevation.de>
 
 	Post release version bump.

Modified: trunk/openvas-administrator/src/CMakeLists.txt
===================================================================
--- trunk/openvas-administrator/src/CMakeLists.txt	2009-12-23 07:49:37 UTC (rev 6243)
+++ trunk/openvas-administrator/src/CMakeLists.txt	2009-12-23 09:13:42 UTC (rev 6244)
@@ -47,11 +47,11 @@
 
 ## Libraries
 
-add_library (admin admin.c)
+add_library (admin STATIC admin.c)
 set_target_properties (admin PROPERTIES COMPILE_FLAGS
                        "${HEADER_TEMP} ${OPENVAS_CFLAGS} ${TASKS_CFLAG} ${GLIB_CFLAGS}")
 
-add_library (oap oap.c)
+add_library (oap STATIC oap.c)
 set_target_properties (oap PROPERTIES COMPILE_FLAGS
                        "${HEADER_TEMP} ${OPENVAS_CFLAGS} ${TASKS_CFLAG} ${GLIB_CFLAGS}")
 



More information about the Openvas-commits mailing list