From f25659d2eeb32efb519a96e1f1ab4894de115807 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 24 Dec 2016 23:54:31 -0800 Subject: Suppress versioning for modules, tell libtool they are modules Versioning is for libraries. Modules are not libraries; no code is linked against them. Libtool makes sure the modules can be opened by dlopen(). That is already true for ELF format, but other file formats may need special processing. --- mc/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mc') diff --git a/mc/Makefile.am b/mc/Makefile.am index 2171a180..09d07068 100644 --- a/mc/Makefile.am +++ b/mc/Makefile.am @@ -18,3 +18,5 @@ libmc_la_SOURCES = \ libmc_la_LIBADD = \ $(top_builddir)/common/libcommon.la + +libmc_la_LDFLAGS = -avoid-version -module -- cgit v1.2.3