fix sysroot tests to pass on Fedora 13

* tests/sysroot.at: Link $prefix/include into the sysroot as well, as
required by newer GCC.
This commit is contained in:
Paolo Bonzini 2010-08-12 21:04:06 -04:00
parent 8f2fcb912f
commit 5735d4b16d

View File

@ -54,7 +54,7 @@ local_dirname() {
}
AT_CHECK([
(cd "$gcc_sysroot" && find ".$prefix/bin" ".$prefix/lib" \! -type d) | \
(cd "$gcc_sysroot" && find ".$prefix/bin" ".$prefix/include" ".$prefix/lib" \! -type d) | \
while read file; do
dir=`local_dirname "$sysroot/$file"`
test -d "$dir" || mkdir -p "$dir"