Only build libreadline if gdb is going to be built

gdb is the only consumer of libreadline which is an INTERNALLIB
This commit is contained in:
Baptiste Daroussin 2015-05-18 16:05:41 +00:00
parent 8dca9c27c9
commit 40f51e7543
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283065

View File

@ -2,7 +2,7 @@
.include <src.opts.mk>
SUBDIR= csu libgcc libdialog libregex libreadline
SUBDIR= csu libgcc libdialog libregex
.if ${MK_GCC} != "no"
SUBDIR+= libgcov libgomp
@ -16,6 +16,10 @@ SUBDIR+= libssp
SUBDIR+= tests
.endif
.if ${MK_GDB} != "no"
SUBDIR+= libreadline
.endif
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
.if ${MK_GNUCXX} != "no"