* 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'.
This commit is contained in:
parent
8349f8294c
commit
3f207753a0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue