Author: emaste
Date: Wed Aug 24 17:15:32 2016
New Revision: 304757
URL: https://svnweb.freebsd.org/changeset/base/304757

Log:
  Don't build libdevdctl if MK_CXX is no

Modified:
  head/lib/Makefile

Modified: head/lib/Makefile
==============================================================================
--- head/lib/Makefile   Wed Aug 24 16:49:14 2016        (r304756)
+++ head/lib/Makefile   Wed Aug 24 17:15:32 2016        (r304757)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to