mirror of
https://github.com/rui314/mold.git
synced 2024-09-19 17:07:29 +03:00
Fix CI
This commit is contained in:
parent
72c9425ae3
commit
2a26a0db64
@ -15,10 +15,10 @@ int fn2();
|
||||
int main() { fn2(); }
|
||||
EOF
|
||||
|
||||
$CC -o $t/exe1 $t/a.o -L$t -Wl,--as-needed -lbar -Wl,--allow-shlib-undefined
|
||||
$CC -B. -o $t/exe1 $t/a.o -L$t -Wl,--as-needed -lbar -Wl,--allow-shlib-undefined
|
||||
readelf -W --dynamic $t/exe1 > $t/log1
|
||||
! grep -q libfoo $t/log1 || false
|
||||
|
||||
$CC -o $t/exe2 $t/a.o -L$t -Wl,--as-needed -lbar -lfoo
|
||||
$CC -B. -o $t/exe2 $t/a.o -L$t -Wl,--as-needed -lbar -lfoo
|
||||
readelf -W --dynamic $t/exe2 > $t/log2
|
||||
grep -q libfoo $t/log2
|
||||
|
Loading…
Reference in New Issue
Block a user