mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb: Fix the library handling in rtems-build-dep
This commit is contained in:
parent
574839d855
commit
9c1e5c7e01
@ -154,13 +154,16 @@ if [ ${op} = "library" ]; then
|
|||||||
awk 'BEGIN {FS="-L"} {for (i=0;++i<=NF;) if (length($i) > 0) print $i;}')
|
awk 'BEGIN {FS="-L"} {for (i=0;++i<=NF;) if (length($i) > 0) print $i;}')
|
||||||
for p in ${lib_paths_1} ${lib_paths_2}
|
for p in ${lib_paths_1} ${lib_paths_2}
|
||||||
do
|
do
|
||||||
if [ ${verbose} = yes ]; then
|
for lname in ${name} lib${name}.a
|
||||||
echo "Library: ${p}/${name}"
|
do
|
||||||
fi
|
if [ ${verbose} = yes ]; then
|
||||||
if ls ${p}/${name} 1> /dev/null 2>&1; then
|
echo "Library: ${p}/${lname}"
|
||||||
echo "found"
|
fi
|
||||||
exit 0
|
if ls ${p}/${lname} 1> /dev/null 2>&1; then
|
||||||
fi
|
echo "found"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
done
|
||||||
done
|
done
|
||||||
echo "not-found"
|
echo "not-found"
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user