All pastes #840233 Raw Edit

Stuff

public text v1 · immutable
#840233 ·published 2007-12-31 17:02 UTC
rendered paste body
    732 oe_soinstall() {
    733         # Purpose: Install shared library file and
    734         #          create the necessary links
    735         # Example:
    736         #
    737         # oe_
    738         #
    739         #oenote installing shared library $1 to $2
    740         #
    741         libname=`basename $1`
    742         install -m 755 $1 $2/$libname
    743         sonamelink=`readelf -d $1 |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
    744         solink=`echo $libname | sed -e 's/\.so\..*/.so/'`
    745         ln -sf $libname $2/$sonamelink
    746         ln -sf $libname $2/$solink
    747 
    748 }