Blob Blame History Raw
diff -uNr openscap-1.0.0/configure openscap-1.0.0.plugin/configure
--- openscap-1.0.0/configure	2013-11-19 11:36:09.502896274 +0100
+++ openscap-1.0.0.plugin/configure	2013-11-21 16:21:43.288454538 +0100
@@ -799,6 +799,7 @@
 ENV_PRESENT_FALSE
 ENV_PRESENT_TRUE
 HAVE_ENV
+LT_CURRENT_MINUS_AGE
 LT_AGE
 LT_REVISION
 LT_CURRENT
@@ -22730,11 +22731,20 @@
 ## precedence over adding, so set to 0 if both happened.
 LT_AGE=0
 
+LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
 
 
 
 
 
+
+
+cat >>confdefs.h <<_ACEOF
+#define LT_CURRENT_MINUS_AGE $LT_CURRENT_MINUS_AGE
+_ACEOF
+
+
+
 
 
 # Compiler flags
diff -uNr openscap-1.0.0/src/XCCDF_POLICY/check_engine_plugin.c openscap-1.0.0.plugin/src/XCCDF_POLICY/check_engine_plugin.c
--- openscap-1.0.0/src/XCCDF_POLICY/check_engine_plugin.c	2013-11-10 08:54:47.459067475 +0100
+++ openscap-1.0.0.plugin/src/XCCDF_POLICY/check_engine_plugin.c	2013-11-21 16:22:57.369464028 +0100
@@ -184,7 +184,7 @@
 	return (plugin->get_capabilities_fn)(&plugin->user_data);
 }
 
-const char * const known_plugins[] = {"libopenscap_sce.so", NULL};
+const char * const known_plugins[] = {"libopenscap_sce.so." STRINGIZE(LT_CURRENT_MINUS_AGE), NULL};
 
 const char * const *check_engine_plugin_get_known_plugins(void)
 {