aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-11-08 17:31:52 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-11-08 17:31:52 +0000
commit5327f96c2e154534ff81a3fd998c96c585e4f04a (patch)
tree2ebe57e88b978b7fdbd98a0d8b85daa1d0f66a3d
parent3e7520144ba150fc14b665076b6ce364e8c4f161 (diff)
downloadsrc-5327f96c2e154534ff81a3fd998c96c585e4f04a.tar.gz
src-5327f96c2e154534ff81a3fd998c96c585e4f04a.zip
Add missing link for shared libtermlib
Notes
Notes: svn path=/head/; revision=4288
-rw-r--r--lib/libtermcap/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libtermcap/Makefile b/lib/libtermcap/Makefile
index 319899f69235..971d21384666 100644
--- a/lib/libtermcap/Makefile
+++ b/lib/libtermcap/Makefile
@@ -8,6 +8,10 @@ MAN3= termcap.3
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}
+.endif
.if !defined(NOPROFILE)
LINKS+= ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a
.endif