From e50094e10a6975dafa280a010070708ac7d1d1c5 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 16 Apr 2023 15:36:50 +0200 Subject: Prepend ld_library list instead of append --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 22bb6721..b942f978 100755 --- a/src/main.c +++ b/src/main.c @@ -1379,7 +1379,7 @@ int main(int argc, const char **argv, char **env) { LoadEnvVars(my_context); // Append ld_list if it exist if(ld_libs_args!=-1) - AppendList(&my_context->box64_ld_lib, argv[ld_libs_args], 1); + PrependList(&my_context->box64_ld_lib, argv[ld_libs_args], 1); my_context->box64path = ResolveFile(argv[0], &my_context->box64_path); // prepare all other env. var -- cgit 1.4.1