From 2d3dbc7c21f1251647aae274eb767754240daeba Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 6 Jun 2020 19:31:14 -0500 Subject: [PATCH] Bugfix: incorrect is_library boolean during build process These are set incorrectly, resulting in using program_flags for library and library_flags for program. --- level_3/fake/c/private-build.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/level_3/fake/c/private-build.c b/level_3/fake/c/private-build.c index 5f179f3..9fd0927 100644 --- a/level_3/fake/c/private-build.c +++ b/level_3/fake/c/private-build.c @@ -702,7 +702,7 @@ extern "C" { if (F_status_is_error(*status)) break; } // for - fake_build_arguments_standard_add(data, data_build, F_true, F_false, &arguments, status); + fake_build_arguments_standard_add(data, data_build, F_true, F_true, &arguments, status); for (f_array_length i = 0; i < data_build.setting.flags_library.used && F_status_is_fine(*status); i++) { *status = fll_execute_arguments_add(data_build.setting.flags_library.array[i].string, data_build.setting.flags_library.array[i].used, &arguments); @@ -2052,7 +2052,7 @@ extern "C" { if (F_status_is_error(*status)) break; } // for - fake_build_arguments_standard_add(data, data_build, F_false, F_false, &arguments, status); + fake_build_arguments_standard_add(data, data_build, F_false, F_true, &arguments, status); if (F_status_is_error(*status)) { fake_print_error(data.context, data.verbosity, F_status_set_fine(*status), "fll_execute_arguments_add", F_true); @@ -2258,7 +2258,7 @@ extern "C" { *status = fll_execute_arguments_add(link_project_library, link_project_library_length, &arguments); } - fake_build_arguments_standard_add(data, data_build, F_true, F_true, &arguments, status); + fake_build_arguments_standard_add(data, data_build, F_true, F_false, &arguments, status); if (F_status_is_error(*status)) { fake_print_error(data.context, data.verbosity, F_status_set_fine(*status), "fll_execute_arguments_add", F_true); @@ -2363,7 +2363,7 @@ extern "C" { } // for } - fake_build_arguments_standard_add(data, data_build, F_false, F_true, &arguments, status); + fake_build_arguments_standard_add(data, data_build, F_false, F_false, &arguments, status); if (F_status_is_error(*status)) { fake_print_error(data.context, data.verbosity, F_status_set_fine(*status), "fll_execute_arguments_add", F_true); -- 1.8.3.1