]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/comp.el (comp--native-compile): Fix OUTPUT for non abs paths
authorAndrea Corallo <acorallo@gnu.org>
Sun, 27 Aug 2023 14:07:30 +0000 (16:07 +0200)
committerAndrea Corallo <acorallo@gnu.org>
Sun, 27 Aug 2023 14:41:35 +0000 (16:41 +0200)
lisp/emacs-lisp/comp.el

index 0c70789be7125d87fa1f4cadfcbc0709aabf83f3..b5355acf7ccb3dd363a2ed09cd46d6ff57487d8a 100644 (file)
@@ -4096,7 +4096,8 @@ the deferred compilation mechanism."
              (symbols-with-pos-enabled t)
              ;; Have byte compiler signal an error when compilation fails.
              (byte-compile-debug t)
-             (comp-ctxt (make-comp-ctxt :output output
+             (comp-ctxt (make-comp-ctxt :output (when output
+                                                  (expand-file-name output))
                                         :with-late-load with-late-load)))
         (comp-log "\n\f\n" 1)
         (unwind-protect