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