Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2016 17:15:32 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r304757 - head/lib
Message-ID:  <201608241715.u7OHFWKC028634@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608241715.u7OHFWKC028634>