mirror of https://github.com/hak5/openwrt.git
remote-gdb: change library paths after r19849, swap usr/lib/ and lib/
SVN-Revision: 19850lede-17.01
parent
15fecc9e6c
commit
ba29f08008
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue