Correction to the previous revision: define SHLIB_LINK if SHLIB_NAME

is defined (whether or not LIB is defined).
This commit is contained in:
Ruslan Ermilov 2002-07-18 17:44:20 +00:00
parent f23050633f
commit 42c0ad02c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100332

View File

@ -15,7 +15,9 @@
.if ${OBJFORMAT} == elf
.if !defined(SHLIB_NAME) && defined(LIB) && defined(SHLIB_MAJOR)
SHLIB_NAME= lib${LIB}.so.${SHLIB_MAJOR}
SHLIB_LINK?= lib${LIB}.so
.endif
.if defined(SHLIB_NAME)
SHLIB_LINK?= ${SHLIB_NAME:R}
.endif
SONAME?= ${SHLIB_NAME}
.else