]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
ml: Disable versioning for shared object
authorRob Shearman <rob@graphiant.com>
Mon, 14 Jul 2025 11:14:57 +0000 (12:14 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 18 Jul 2025 14:30:50 +0000 (16:30 +0200)
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

index e0d8d2bac9996554de87ffdc84c181a4945a9c6f..6cd57704201312d69d1b52bf709e61556ec33626 100644 (file)
@@ -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