If we have a SHLIB_VERSION_FILE, add is as a dependency for the
library. This is mostly a convenience, so that you can trigger a shared library rebuild by touching the shlib_version file, it should not otherwise impact the build one way or the other.
This commit is contained in:
parent
79663d7eed
commit
a5ec128bee
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.lib.mk,v 1.294 2009/01/17 12:07:59 he Exp $
|
||||
# $NetBSD: bsd.lib.mk,v 1.295 2009/01/17 12:09:58 he Exp $
|
||||
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
@ -81,6 +81,8 @@ SHLIB_MAJOR != . ${SHLIB_VERSION_FILE} ; echo $$major
|
|||
SHLIB_MINOR != . ${SHLIB_VERSION_FILE} ; echo $$minor
|
||||
SHLIB_TEENY != . ${SHLIB_VERSION_FILE} ; echo $$teeny
|
||||
|
||||
DPADD+= ${SHLIB_VERSION_FILE}
|
||||
|
||||
# Check for higher installed library versions.
|
||||
.if !defined(NOCHECKVER) && !defined(NOCHECKVER_${LIB}) && \
|
||||
exists(${NETBSDSRCDIR}/lib/checkver)
|
||||
|
|
Loading…
Reference in New Issue