emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3f20775: * Fix ahead-of-time native compilation for out-of-tree b


From: Andrea Corallo
Subject: master 3f20775: * Fix ahead-of-time native compilation for out-of-tree builds (bug#48497)
Date: Fri, 21 May 2021 02:53:20 -0400 (EDT)

branch: master
commit 3f207753a06453ab97d1a28ede89eb56cf425092
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * Fix ahead-of-time native compilation for out-of-tree builds (bug#48497)
    
    * src/comp.c (Fcomp_el_to_eln_rel_filename): Expand
    'PATH_DUMPLOADSEARCH' while computing 'loadsearch_re_list'.
---
 src/comp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/comp.c b/src/comp.c
index c044505..340ed85 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4056,7 +4056,8 @@ DEFUN ("comp-el-to-eln-rel-filename", 
Fcomp_el_to_eln_rel_filename,
       Lisp_Object sys_re =
        concat2 (build_string ("\\`[[:ascii:]]+"),
                 Fregexp_quote (build_string ("/" PATH_REL_LOADSEARCH "/")));
-      Lisp_Object dump_load_search = build_string (PATH_DUMPLOADSEARCH "/");
+      Lisp_Object dump_load_search =
+       Fexpand_file_name (build_string (PATH_DUMPLOADSEARCH "/"), Qnil);
 #ifdef WINDOWSNT
       dump_load_search = Fw32_long_file_name (dump_load_search);
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]