|
@ -313,7 +313,7 @@ function run_check() { |
|
|
# |
|
|
# |
|
|
postflist_static_lib() { |
|
|
postflist_static_lib() { |
|
|
echo "Processing static lib corrections ..." |
|
|
echo "Processing static lib corrections ..." |
|
|
egrep '^(lib|lib64)/.*\.(a\..*|a|la)$' $builddir/flist.txt | |
|
|
|
|
|
|
|
|
egrep '^(lib|lib64)/.*\.(a\..*|a|la|so)$' $builddir/flist.txt | |
|
|
while read fn ; do |
|
|
while read fn ; do |
|
|
[ -e $root/$fn -o -L $root/$fn ] || continue |
|
|
[ -e $root/$fn -o -L $root/$fn ] || continue |
|
|
|
|
|
|
|
@ -329,6 +329,12 @@ postflist_static_lib() { |
|
|
*) |
|
|
*) |
|
|
mv -fv $root/$fn $root/usr/$fn |
|
|
mv -fv $root/$fn $root/usr/$fn |
|
|
;; |
|
|
;; |
|
|
|
|
|
*.so) |
|
|
|
|
|
if [ -L "$root/$fn" ]; then |
|
|
|
|
|
ln -svf "$root/lib/$( readlink $fn )" "$root/usr/$fn" |
|
|
|
|
|
rm -f "$root/$fn" |
|
|
|
|
|
fi |
|
|
|
|
|
;; |
|
|
esac |
|
|
esac |
|
|
add_flist $root/usr/$fn |
|
|
add_flist $root/usr/$fn |
|
|
done |
|
|
done |
|
|