]> Kevux Git Server - fll/commitdiff
Bugfix: fix order of library linkage for firewall build settings
authorKevin Day <thekevinday@gmail.com>
Fri, 9 Jan 2015 00:55:55 +0000 (18:55 -0600)
committerKevin Day <thekevinday@gmail.com>
Fri, 9 Jan 2015 00:55:55 +0000 (18:55 -0600)
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

index a6dc751..60fabdb 100644 (file)
@@ -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