]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix target dir.
authorAndrea Corallo <akrl@sdf.org>
Sat, 16 Oct 2021 08:55:43 +0000 (10:55 +0200)
committerAndrea Corallo <akrl@sdf.org>
Sat, 16 Oct 2021 08:56:50 +0000 (10:56 +0200)
lisp/emacs-lisp/comp.el

index 7b5c5ad44f7c58d21f5ce6aed875fd22891f979f..0a105052570b194887e08d0d3b70172d0487fec5 100644 (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)