From: Kevin Day Date: Fri, 9 Jan 2015 00:55:55 +0000 (-0600) Subject: Bugfix: fix order of library linkage for firewall build settings X-Git-Tag: 0.4.2~10 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=306e64fbbe06646ea982cd21d851bae9ac0f056a;p=fll 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 --- 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