summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-11-20 21:26:13 +0000
committerdim <dim@FreeBSD.org>2012-11-20 21:26:13 +0000
commit45112bd543b80a550b611257a95bf2475a120761 (patch)
tree0e91a2e2237012b0e2a06cc69e4faa3a36f3af8f /share
parent3fd80a82666158c3a0cc79d8aeeecb24bd186c3a (diff)
downloadFreeBSD-src-45112bd543b80a550b611257a95bf2475a120761.zip
FreeBSD-src-45112bd543b80a550b611257a95bf2475a120761.tar.gz
Do not expose LIBCXXRT and LIBCPLUSPLUS in bsd.libnames.mk, if
WITHOUT_LIBCPLUSPLUS is specified. Submitted by: Garrett Cooper <yanegomi@gmail.com> MFC after: 3 days
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.libnames.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/bsd.libnames.mk b/share/mk/bsd.libnames.mk
index bcaec4b..f3fba1c 100644
--- a/share/mk/bsd.libnames.mk
+++ b/share/mk/bsd.libnames.mk
@@ -28,8 +28,10 @@ LIBBSDXML?= ${DESTDIR}${LIBDIR}/libbsdxml.a
LIBBSM?= ${DESTDIR}${LIBDIR}/libbsm.a
LIBBSNMP?= ${DESTDIR}${LIBDIR}/libbsnmp.a
LIBBZ2?= ${DESTDIR}${LIBDIR}/libbz2.a
+.if ${MK_LIBCPLUSPLUS} != "no"
LIBCXXRT?= ${DESTDIR}${LIBDIR}/libcxxrt.a
LIBCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libc++.a
+.endif
LIBC?= ${DESTDIR}${LIBDIR}/libc.a
LIBC_PIC?= ${DESTDIR}${LIBDIR}/libc_pic.a
LIBCALENDAR?= ${DESTDIR}${LIBDIR}/libcalendar.a
OpenPOWER on IntegriCloud