While I am no longer making a shared library, nuke the old one to prevent

ld from picking it up spuriously.
This commit is contained in:
Mark Murray 1998-08-30 13:08:54 +00:00
parent 0be70b48dd
commit e6d0d4a4c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38642
2 changed files with 22 additions and 0 deletions

View File

@ -12,6 +12,17 @@ NOPIC= yes
INCLUDES= ${TELNETDIR}/arpa/telnet.h
#
# Before complaining about this, please *double-check* that you have
# updated the ldconfig path in /etc/rc to include /usr/lib/compat that
# was added in src/etc/rc rev 1.98.
# This is so that `ld' will not continue to generate binaries linked
# shared against libtelnet, so that in a future release we can move this
# off to a compat dist (like compat22).
#
beforeinstall:
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
.include <bsd.lib.mk>
.PATH: ${TELNETDIR}/libtelnet

View File

@ -12,6 +12,17 @@ NOPIC= yes
INCLUDES= ${TELNETDIR}/arpa/telnet.h
#
# Before complaining about this, please *double-check* that you have
# updated the ldconfig path in /etc/rc to include /usr/lib/compat that
# was added in src/etc/rc rev 1.98.
# This is so that `ld' will not continue to generate binaries linked
# shared against libtelnet, so that in a future release we can move this
# off to a compat dist (like compat22).
#
beforeinstall:
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
.include <bsd.lib.mk>
.PATH: ${TELNETDIR}/libtelnet