From 8cb3f85bdfef35e62f98d7d8b300eaedb6b1b20b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 12 Aug 2022 20:55:44 +0200 Subject: ucode: initialize default library search path Recent ucode versions require us to explicitly initialize the search path structure in the parser config. Signed-off-by: Jo-Philipp Wich --- ucode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ucode.c b/ucode.c index c03b6f0..01de012 100644 --- a/ucode.c +++ b/ucode.c @@ -231,6 +231,7 @@ uh_ucode_state_init(struct ucode_prefix *ucode) uc_vm_init(vm, &config); uc_stdlib_load(uc_vm_scope_get(vm)); + uc_search_path_init(&config.module_search_path); /* build uhttpd api table */ v = ucv_object_new(vm); -- cgit v1.2.1