Index: build/linux/sysroot_ld_path.sh |
=================================================================== |
--- build/linux/sysroot_ld_path.sh (revision 250969) |
+++ build/linux/sysroot_ld_path.sh (working copy) |
@@ -46,11 +46,11 @@ |
echo "$ENTRY" | grep -qs ^include |
if [ $? -eq 0 ]; then |
local included_files=$(echo "$ENTRY" | sed 's/^include //') |
- if ls $included_files >/dev/null 2>&1 ; then |
- for inc_file in $included_files; do |
+ if ls $root$included_files >/dev/null 2>&1 ; then |
Lei Zhang
2014/02/13 09:26:19
In the absolute case, $included_files = /foo/*, we
|
+ for inc_file in $root$included_files; do |
echo $inc_file | grep -qs ^/ |
if [ $? -eq 0 ]; then |
- process_ld_so_conf "$root" "$root$inc_file" |
+ process_ld_so_conf "$root" "$inc_file" |
else |
process_ld_so_conf "$root" "$(pwd)/$inc_file" |
fi |