1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:04:38 +02:00

[scripts] remote-gdb: change library paths after r19849, swap usr/lib/ and lib/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19850 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-02-24 23:51:50 +00:00
parent c993669cc4
commit 1dc2db31a3

View File

@ -53,9 +53,9 @@ if( opendir SD, "$Bin/../staging_dir" )
# 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")
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/")
);
print $fh "set solib-search-path $libdirs\n";