summaryrefslogtreecommitdiff
path: root/doc/lispref/loading.texi
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2019-12-25 18:03:26 +0100
committerPhilipp Stephani <phst@google.com>2019-12-25 18:03:26 +0100
commit5f550572febf76d9d95da45c800fedf2e1aadc82 (patch)
tree7f3ad66c7c8d9cb775ed3a29ad1ae45e7dcba81a /doc/lispref/loading.texi
parent19b28abc9bc9a756f2e37465cc5632ffb48df637 (diff)
downloademacs-5f550572febf76d9d95da45c800fedf2e1aadc82.tar.gz
Add some documentation for support of .dylib suffix on macOS
* doc/lispref/loading.texi (Dynamic Modules): * etc/NEWS: Document that dynamic module files on macOS can now have the suffix .dylib.
Diffstat (limited to 'doc/lispref/loading.texi')
-rw-r--r--doc/lispref/loading.texi7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index 3261e6d1888..fdd8af1d095 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -1170,10 +1170,13 @@ extension, a.k.a.@: ``suffix''. This suffix is platform-dependent.
@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