Don't build libdevdctl if MK_CXX is no

This commit is contained in:
emaste 2016-08-24 17:15:32 +00:00
parent dd78a731a2
commit 488cdf5c01

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