summaryrefslogtreecommitdiffstats
path: root/genlibdir.sh
blob: dbbee8b9b8c5725405a4d0b955c4146d5b04411c (plain)
1
2
# for i in bin/*; do ldd $i; done| awk '/=>/ { print $3 }' | sort -u | while read fpath; do realname=$(readlink -f $fpath); cp $realname lib/; basereal=$(basename $realname); basefake=$(basename $fpath); ln -s $basereal lib/$basefake; done
: