- # Find library paths
- my $libdirs = join ':', (
- glob("$Bin/../staging_dir/target-${arch}_${libc}/root-*/{,usr/}lib/"),
- glob("$Bin/../staging_dir/target-${arch}_${libc}/{,usr/}lib/"),
- glob("$Bin/../staging_dir/toolchain-${arch}_*_${libc}/lib/")
- );