From 306e64fbbe06646ea982cd21d851bae9ac0f056a Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 8 Jan 2015 18:55:55 -0600 Subject: [PATCH] Bugfix: fix order of library linkage for firewall build settings The ar command is sensitive to the order in which libraries are added. Prior to this change, building a static library could have dependencies used before they are defined due to the order in which libraries were added. Change the order so that libraries are to the right of their dependencies in the command line argument order --- level_3/firewall/data/build/settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/firewall/data/build/settings b/level_3/firewall/data/build/settings index a6dc751..60fabdb 100644 --- a/level_3/firewall/data/build/settings +++ b/level_3/firewall/data/build/settings @@ -9,7 +9,7 @@ version_micro 2 build_compiler gcc build_linker ar -build_libraries -lc -lf_memory -lf_console -lf_conversion -lf_print -lf_file -lfl_fss -lfl_console -lfl_file -lfl_strings -lfl_colors -lfl_directory -lfll_execute -lfll_fss -lfll_colors -lf_pipe +build_libraries -lc -lf_memory -lf_console -lf_conversion -lf_print -lf_file -lf_pipe -lfl_fss -lfl_console -lfl_file -lfl_strings -lfl_colors -lfl_directory -lfll_execute -lfll_fss -lfll_colors build_sources_library firewall.c private-firewall.c build_sources_program main.c build_sources_headers firewall.h -- 1.8.3.1