summaryrefslogtreecommitdiffstats
path: root/usr.bin/lex
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/lex/lib/Makefile b/usr.bin/lex/lib/Makefile
index f94eaab..dcc7518 100644
--- a/usr.bin/lex/lib/Makefile
+++ b/usr.bin/lex/lib/Makefile
@@ -6,8 +6,10 @@ LIB= ln
SRCS= libmain.c libyywrap.c
NO_PIC=
+.if ${MK_INSTALLLIB} != "no"
LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a
LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a
+.endif
.if ${MK_PROFILE} != "no"
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a
OpenPOWER on IntegriCloud