diff --git a/lib/libtermcap/Makefile b/lib/libtermcap/Makefile index 4fef3a1f0dbe..fbfa7f5c008c 100644 --- a/lib/libtermcap/Makefile +++ b/lib/libtermcap/Makefile @@ -9,8 +9,8 @@ MLINKS= termcap.3 tgetent.3 termcap.3 tgetflag.3 termcap.3 tgetnum.3 \ termcap.3 tgetstr.3 termcap.3 tgoto.3 termcap.3 tputs.3 LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a .if !defined(NOPIC) -LINKS+= ${LIBDIR}/libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ - ${LIBDIR}/libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR} +LINKS+= ${SHLIBDIR}/libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + ${SHLIBDIR}/libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR} .endif .if !defined(NOPROFILE) LINKS+= ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a