diff options
author | Gary V. Vaughan <gary@gnu.org> | 2014-11-26 20:42:14 +0000 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2014-11-26 20:42:14 +0000 |
commit | 64a09a29e335b68d1996d36c95cd95a1f85b2bcf (patch) | |
tree | 5b9a075ae687778efb4e85694cb72902587b3f94 | |
parent | e3740596954495555727057bd0486241cefdd4a4 (diff) | |
download | m4-64a09a29e335b68d1996d36c95cd95a1f85b2bcf.tar.gz |
modules: only load modules with system module file extension.
* m4/path.c (m4_load_filename): Compare with LT_MODULE_EXT instead
of hardcoded '.so'.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
-rw-r--r-- | m4/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -337,7 +337,7 @@ m4_load_filename (m4 *context, const m4_call_info *caller, if (!m4_get_posixly_correct_opt (context) && suffix - && STREQ (suffix, ".so")) + && STREQ (suffix, LT_MODULE_EXT)) { m4_module_load (context, filename, obs); } |