Skip to content

Commit

Permalink
Fix linking order
Browse files Browse the repository at this point in the history
When we try to link multiple .o files with .a files, .a files should come last
due to resolution of symbols.
  • Loading branch information
Bilal Hatipoglu committed Jan 30, 2020
1 parent db5aedc commit 0e01c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.lib
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,9 @@ define target-defaults_base
$(do_cp)
$(do_print_deps)

.NOTPARALLEL: $($1_depends_y) $($1_objects_e) $($1_objects)
.NOTPARALLEL: $($1_depends_y) $($1_objects) $($1_objects_e)

.$1/$1: $($1_depends_y) $($1_objects_e) $($1_objects)
.$1/$1: $($1_depends_y) $($1_objects) $($1_objects_e)

$1_clean: __FORCE
$(do_clean) $1 .$1 [email protected] $1.dSYM $($1_headers_uic)
Expand Down

0 comments on commit 0e01c4e

Please sign in to comment.