diff options
author | Philipp Stephani <phst@google.com> | 2019-12-25 15:41:39 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2019-12-25 15:42:20 +0100 |
commit | 28268e47d844215b11f9a731d2bedb58bee0b343 (patch) | |
tree | 320b5f1b359451f8ad7dc60da56d2b221c371b84 /lisp/emacs-lisp/backtrace.el | |
parent | 7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9 (diff) | |
download | emacs-28268e47d844215b11f9a731d2bedb58bee0b343.tar.gz emacs-28268e47d844215b11f9a731d2bedb58bee0b343.tar.bz2 emacs-28268e47d844215b11f9a731d2bedb58bee0b343.zip |
Support .dylib suffix for modules on macOS (Bug#36226).
On macOS, shared libraries typically have the suffix .dylib. This
commit switches the module suffix to .dylib on Darwin to account for
that. To also support the .so suffix, introduce the concept of a
secondary module suffix.
* configure.ac: Switch MODULES_SUFFIX to .dylib for Darwin, introduce
MODULES_SECONDARY_SUFFIX.
* src/lread.c (Fload, syms_of_lread): Also use
MODULES_SECONDARY_SUFFIX if defined.
* test/src/emacs-module-tests.el (module-darwin-secondary-suffix): New
unit test.
Diffstat (limited to 'lisp/emacs-lisp/backtrace.el')
0 files changed, 0 insertions, 0 deletions