* lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix target dir.

This commit is contained in:
Andrea Corallo 2021-10-16 10:55:43 +02:00
parent e842d7f29a
commit 2971a6890f

View file

@ -3790,7 +3790,8 @@ Return the trampoline if found or nil otherwise."
form nil
(cl-loop
for dir in (if native-compile-target-directory
(list native-compile-target-directory)
(list (expand-file-name comp-native-version-dir
native-compile-target-directory))
(comp-eln-load-path-eff))
for f = (expand-file-name
(comp-trampoline-filename subr-name)