diff options
author | Andrea Corallo <akrl@sdf.org> | 2023-02-18 22:44:05 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2023-02-18 22:44:05 +0100 |
commit | c15bc91e1bf5a04da48f03866a9461b6046dba15 (patch) | |
tree | 058cc7178b9c905d910f29076f9ec6f60d672f69 /lisp/emacs-lisp | |
parent | 774051873d569590c78ef450ca4630c53452ae64 (diff) | |
download | emacs-c15bc91e1bf5a04da48f03866a9461b6046dba15.tar.gz emacs-c15bc91e1bf5a04da48f03866a9461b6046dba15.tar.bz2 emacs-c15bc91e1bf5a04da48f03866a9461b6046dba15.zip |
* Fix `native-comp-enable-subr-trampolines' semantic
* lisp/emacs-lisp/comp.el (comp--trampoline-abs-filename): Interpret
`native-comp-enable-subr-trampolines' relative to
`invocation-directory'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 2d9cad6d98c..a2bad6ce6a8 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3794,7 +3794,8 @@ Return the trampoline if found or nil otherwise." "Return the absolute filename for a trampoline for SUBR-NAME." (cl-loop with dirs = (if (stringp native-comp-enable-subr-trampolines) - (list native-comp-enable-subr-trampolines) + (list (expand-file-name native-comp-enable-subr-trampolines + invocation-directory)) (if native-compile-target-directory (list (expand-file-name comp-native-version-dir native-compile-target-directory)) |