summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pdumper.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pdumper.c b/src/pdumper.c
index ed763a5d7ef..dfc7388b634 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -5335,7 +5335,11 @@ dump_do_dump_relocation (const uintptr_t dump_base,
comp_u->file = eln_fname;
comp_u->handle = dynlib_open (SSDATA (eln_fname));
if (!comp_u->handle)
- error ("%s", dynlib_error ());
+ {
+ fprintf (stderr, "Error using execdir %s:\n",
+ emacs_execdir);
+ error ("%s", dynlib_error ());
+ }
load_comp_unit (comp_u, true, false);
break;
}