summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luainit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.c b/Build/source/texk/web2c/luatexdir/lua/luainit.c
index c76b676c0f4..8e35dca0fdb 100644
--- a/Build/source/texk/web2c/luatexdir/lua/luainit.c
+++ b/Build/source/texk/web2c/luatexdir/lua/luainit.c
@@ -353,6 +353,10 @@ init_kpse (void) {
"kpathsea mode needs a --progname or --fmt switch\n");
exit(1);
}
+
+ kpse_set_program_enabled (kpse_fmt_format, MAKE_TEX_FMT_BY_DEFAULT,
+ kpse_src_compile);
+
kpse_set_program_name(argv[0], user_progname);
program_name_set=1;
}