[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5f55057: Add some documentation for support of .dylib suffix on m
From: |
Philipp Stephani |
Subject: |
master 5f55057: Add some documentation for support of .dylib suffix on macOS |
Date: |
Wed, 25 Dec 2019 12:04:11 -0500 (EST) |
branch: master
commit 5f550572febf76d9d95da45c800fedf2e1aadc82
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
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.
---
doc/lispref/loading.texi | 7 +++++--
etc/NEWS | 4 ++++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index 3261e6d..fdd8af1 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
diff --git a/etc/NEWS b/etc/NEWS
index dd33950..fe194f2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -48,6 +48,10 @@ applies, and please also update docstrings as needed.
* 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.
+
----------------------------------------------------------------------
This file is part of GNU Emacs.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5f55057: Add some documentation for support of .dylib suffix on macOS,
Philipp Stephani <=