Update library scripts to use only major/micro version numbers, and to
only add a symlink for linking (let ldconfig make symlinks for sonames).
This commit is contained in:
parent
ec8bcba829
commit
444fca6eff
7 changed files with 12 additions and 33 deletions
|
|
@ -10,11 +10,8 @@ echo "Installing libraries into '${LIBDIR}'"
|
|||
install_file ${@CNAME@} ${LIBDIR} 0755 || return 1
|
||||
BASE="${@CNAME@_BASE}.so"
|
||||
MAJOR="${BASE}.${SOMAJOR}"
|
||||
MINOR="${MAJOR}.${SOMINOR}"
|
||||
MICRO="${MINOR}.${SOMICRO}"
|
||||
install_symlink "${MINOR}" "${MICRO}" "${LIBDIR}"
|
||||
install_symlink "${MAJOR}" "${MINOR}" "${LIBDIR}"
|
||||
install_symlink "${BASE}" "${MAJOR}" "${LIBDIR}"
|
||||
MICRO="${MAJOR}.${SOMICRO}"
|
||||
install_symlink "${BASE}" "${MICRO}" "${LIBDIR}"
|
||||
|
||||
# install header
|
||||
echo "Installing header file '${@CNAME@_HEADER}' into ${INCLUDEDIR}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue