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:
bapt 2015-05-18 16:05:41 +00:00
parent c305444c0f
commit a6c55c35fa

View File

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