2973 |
*) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; |
*) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; |
2974 |
esac |
esac |
2975 |
done |
done |
2976 |
|
# It is ok to link against an archive when |
2977 |
|
# building a shared library. |
2978 |
|
if $AR -t $potlib > /dev/null 2>&1; then |
2979 |
|
newdeplibs="$newdeplibs $a_deplib" |
2980 |
|
a_deplib="" |
2981 |
|
break 2 |
2982 |
|
fi |
2983 |
if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ |
if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ |
2984 |
| sed 10q \ |
| sed 10q \ |
2985 |
| egrep "$file_magic_regex" > /dev/null; then |
| egrep "$file_magic_regex" > /dev/null; then |