version 1.495, 2017/05/01 14:01:47 |
version 1.496, 2017/05/29 09:44:01 |
|
|
echo -n 'reordering libraries:' |
echo -n 'reordering libraries:' |
|
|
# Only choose the latest version of the libraries. |
# Only choose the latest version of the libraries. |
for _liba in /usr/lib/libc.so.*.a; do |
for _liba in /usr/lib/libc.so.*.a /usr/lib/libcrypto.so.*.a; do |
_liba=$(ls ${_liba%%.[0-9]*}*.a | sort -V | tail -1) |
_liba=$(ls ${_liba%%.[0-9]*}*.a | sort -V | tail -1) |
for _l in $_libas; do |
for _l in $_libas; do |
[[ $_l == $_liba ]] && continue 2 |
[[ $_l == $_liba ]] && continue 2 |