@defvar module-file-suffix
This variable holds the system-dependent value of the file-name
-extension of the module files. Its value is @file{.so} on POSIX hosts
-and @file{.dll} on MS-Windows.
+extension of the module files. Its value is @file{.so} on POSIX
+hosts, @file{.dylib} on macOS, and @file{.dll} on MS-Windows.
@end defvar
+ On macOS, dynamic modules can also have the suffix @file{.so} in
+addition to @file{.dylib}.
+
@findex emacs_module_init
@vindex plugin_is_GPL_compatible
Every dynamic module should export a C-callable function named
\f
* Changes in Emacs 28.1 on Non-Free Operating Systems
+** On macOS, Emacs can now also load dynamic modules with a .dylib
+suffix. 'module-file-suffix' will have the value ".dylib" on macOS,
+but .so suffix is supported as well.
+
\f
----------------------------------------------------------------------
This file is part of GNU Emacs.