]> git.eshelyaron.com Git - emacs.git/commitdiff
* Fix ahead-of-time native compilation for out-of-tree builds (bug#48497)
authorAndrea Corallo <akrl@sdf.org>
Fri, 21 May 2021 06:44:55 +0000 (08:44 +0200)
committerAndrea Corallo <akrl@sdf.org>
Fri, 21 May 2021 06:49:25 +0000 (08:49 +0200)
* src/comp.c (Fcomp_el_to_eln_rel_filename): Expand
'PATH_DUMPLOADSEARCH' while computing 'loadsearch_re_list'.

src/comp.c

index c0445050b71dc036a31432657481ce059b1feabb..340ed850387f1b7bedaff89ab369a721b1875f92 100644 (file)
@@ -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