From: Rob Shearman Date: Mon, 14 Jul 2025 11:14:57 +0000 (+0100) Subject: ml: Disable versioning for shared object X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b62e8898090b97f23259b167074721e8b2e64fc;p=thirdparty%2Fstrongswan.git 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 --- 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