From 4b572bfb5da0d48c5a57f83d20c0f1bee8866ee2 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Thu, 20 Nov 2014 18:44:15 +0000 Subject: configury: loadable modules files do not require version numbers. Modules are loaded by libltdl. Arguably, loading from the .la pseudo-library should work irrespective of platform library object file-naming schemes; but in reality, M4 loads modules by basename anyway, so we shouldn't put a platform specific version number in the module filename anyway. * Makefile.am (module_ldflags): Add -avoid-version flag. Reported by KO Myung-Hun Signed-off-by: Gary V. Vaughan --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d3c41720..08a2d393 100644 --- a/Makefile.am +++ b/Makefile.am @@ -180,7 +180,7 @@ MOSTLYCLEANFILES += src/getopt.h src/getopt.h-t ## Modules. ## ## -------- ## -module_ldflags = -module $(AM_LDFLAGS) +module_ldflags = -avoid-version -module $(AM_LDFLAGS) module_libadd = m4/libm4.la noinst_HEADERS = modules/m4.h -- cgit v1.2.1