Make the rpath order deterministic. (#3932)
parent
10a1a39961
commit
c7360dd426
8 changed files with 44 additions and 1 deletions
@ -0,0 +1,11 @@ |
|||||||
|
project('myexe', 'c') |
||||||
|
|
||||||
|
sub1 = subproject('sub1') |
||||||
|
sub1_dep = sub1.get_variable('sub1_dep') |
||||||
|
|
||||||
|
sub2 = subproject('sub2') |
||||||
|
sub2_dep = sub2.get_variable('sub2_dep') |
||||||
|
|
||||||
|
executable('myexe', |
||||||
|
'myexe.c', |
||||||
|
dependencies: [sub1_dep, sub2_dep]) |
@ -0,0 +1,3 @@ |
|||||||
|
int main(void) { |
||||||
|
return 0; |
||||||
|
} |
@ -0,0 +1,5 @@ |
|||||||
|
project('sub1', 'c') |
||||||
|
|
||||||
|
sub1_lib = library('sub1', 'lib.c') |
||||||
|
|
||||||
|
sub1_dep = declare_dependency(link_with : sub1_lib) |
@ -0,0 +1,5 @@ |
|||||||
|
project('sub2', 'c') |
||||||
|
|
||||||
|
sub2_lib = library('sub2', 'lib.c') |
||||||
|
|
||||||
|
sub2_dep = declare_dependency(link_with : sub2_lib) |
Loading…
Reference in new issue