* Fix `native-compile-target-directory' effectiveness on trampolines
* lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix `native-compile-target-directory' effectiveness on trampoline compilation.
This commit is contained in:
parent
502788bc3d
commit
ced72b6e4c
1 changed files with 3 additions and 1 deletions
|
@ -3789,7 +3789,9 @@ Return the trampoline if found or nil otherwise."
|
|||
(comp--native-compile
|
||||
form nil
|
||||
(cl-loop
|
||||
for dir in (comp-eln-load-path-eff)
|
||||
for dir in (if native-compile-target-directory
|
||||
(list native-compile-target-directory)
|
||||
(comp-eln-load-path-eff))
|
||||
for f = (expand-file-name
|
||||
(comp-trampoline-filename subr-name)
|
||||
dir)
|
||||
|
|
Loading…
Add table
Reference in a new issue