From 2971a6890f562dccc2182dd1f802fa47333d496c Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sat, 16 Oct 2021 10:55:43 +0200 Subject: [PATCH] * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix target dir. --- lisp/emacs-lisp/comp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 7b5c5ad44f7..0a105052570 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -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) -- 2.39.2