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:
Laurence Withers 2007-09-11 22:21:05 +00:00
commit 444fca6eff
7 changed files with 12 additions and 33 deletions

View file

@ -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}"