From 2251a6c5845501469358893f68aa307bbaaba05a Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 18 Jun 2023 22:30:41 -0500 Subject: [PATCH] Bugfix: Object files are not being added for shared program. I overlooked replacing this variable when I refactored the code some time ago. --- level_3/fake/c/main/build.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/level_3/fake/c/main/build.c b/level_3/fake/c/main/build.c index 7868f29..f23ac15 100644 --- a/level_3/fake/c/main/build.c +++ b/level_3/fake/c/main/build.c @@ -556,8 +556,6 @@ extern "C" { f_number_unsigned_t i = 0; f_number_unsigned_t j = 0; - f_string_static_t source = f_string_static_t_initialize; - const f_string_statics_t *sources[2] = { generic, specific, @@ -577,7 +575,7 @@ extern "C" { main->setting.state.status = f_string_dynamic_append_nulless(sources[i]->array[j], &main->cache_argument); if (F_status_is_error(main->setting.state.status)) return; - main->setting.state.status = fll_execute_arguments_add(source, &main->cache_arguments); + main->setting.state.status = fll_execute_arguments_add(main->cache_argument, &main->cache_arguments); if (F_status_is_error(main->setting.state.status)) return; } // for } // for -- 1.8.3.1