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
This commit is contained in:
Rob Shearman 2025-07-14 12:14:57 +01:00 committed by Tobias Brunner
parent 58c567da74
commit 1b62e88980

View 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