Don't build libdevdctl if MK_CXX is no

This commit is contained in:
Ed Maste 2016-08-24 17:15:32 +00:00
parent e21d69e9a7
commit 903b0dd702
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=304757

View File

@ -43,7 +43,7 @@ SUBDIR= ${SUBDIR_BOOTSTRAP} \
libcompat \
libcrypt \
libdevctl \
libdevdctl \
${_libdevdctl} \
libdevinfo \
libdevstat \
libdpv \
@ -187,6 +187,10 @@ _clang= clang
_cuse= libcuse
.endif
.if ${MK_CXX} != "no"
_libdevdctl= libdevdctl
.endif
.if ${MK_TOOLCHAIN} != "no"
_libelftc= libelftc
_libpe= libpe