summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2014-11-20 18:44:15 +0000
committerGary V. Vaughan <gary@gnu.org>2014-11-20 20:46:10 +0000
commit4b572bfb5da0d48c5a57f83d20c0f1bee8866ee2 (patch)
tree0146a4706d3ebee4cc13411b14ceba73be5ac1b1
parent9b05f560559e00ec19064339ff2a4c6c54d954c0 (diff)
downloadm4-4b572bfb5da0d48c5a57f83d20c0f1bee8866ee2.tar.gz
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 <gary@gnu.org>
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
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