summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-10-16 10:55:43 +0200
committerAndrea Corallo <akrl@sdf.org>2021-10-16 10:56:50 +0200
commit2971a6890f562dccc2182dd1f802fa47333d496c (patch)
treef87c331ffc58ba8f78a887933f58b126262fd6c2 /lisp/emacs-lisp
parente842d7f29ac6a42e44065a94623b36b2dcbb81eb (diff)
downloademacs-2971a6890f562dccc2182dd1f802fa47333d496c.tar.gz
emacs-2971a6890f562dccc2182dd1f802fa47333d496c.tar.bz2
emacs-2971a6890f562dccc2182dd1f802fa47333d496c.zip
* lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix target dir.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/comp.el3
1 files changed, 2 insertions, 1 deletions
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)