]> Kevux Git Server - fll/commitdiff
Bugfix: Object files are not being added for shared program.
authorKevin Day <kevin@kevux.org>
Mon, 19 Jun 2023 03:30:41 +0000 (22:30 -0500)
committerKevin Day <kevin@kevux.org>
Mon, 19 Jun 2023 03:30:41 +0000 (22:30 -0500)
I overlooked replacing this variable when I refactored the code some time ago.

level_3/fake/c/main/build.c

index 7868f29a9f12362f6c1a494d5de022a6d0df8b1b..f23ac15b0aa8810976a8a25f48137c24ee88cfe9 100644 (file)
@@ -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