From 1b62e8898090b97f23259b167074721e8b2e64fc Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Mon, 14 Jul 2025 12:14:57 +0100 Subject: [PATCH] ml: Disable versioning for shared object Avoid generating versioned shared objects which would need to be installed along with the version-independent symlink by specifying "-avoid-version" in the libtool LDFLAGS for the plugin. Avoid any unwanted surprises by also specifying the "-module" option, making the LDFLAGS consistent with all other libstrongswan plugins. Closes strongswan/strongswan#2844 --- src/libstrongswan/plugins/ml/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstrongswan/plugins/ml/Makefile.am b/src/libstrongswan/plugins/ml/Makefile.am index e0d8d2bac9..6cd5770420 100644 --- a/src/libstrongswan/plugins/ml/Makefile.am +++ b/src/libstrongswan/plugins/ml/Makefile.am @@ -17,3 +17,5 @@ libstrongswan_ml_la_SOURCES = \ ml_plugin.h ml_plugin.c \ ml_poly.c ml_poly.h \ ml_utils.c ml_utils.h + +libstrongswan_ml_la_LDFLAGS = -module -avoid-version -- 2.47.2