Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2015 01:09:56 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283549 - head/share/mk
Message-ID:  <201505260109.t4Q19uup085559@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue May 26 01:09:56 2015
New Revision: 283549
URL: https://svnweb.freebsd.org/changeset/base/283549

Log:
  Considers cases when NO_SHARED?=[no|NO] as dynamically linking
  
  This reduces overlinking for parts of the build system where NO_SHARED is
  set to no/NO

Modified:
  head/share/mk/src.libnames.mk

Modified: head/share/mk/src.libnames.mk
==============================================================================
--- head/share/mk/src.libnames.mk	Tue May 26 00:44:29 2015	(r283548)
+++ head/share/mk/src.libnames.mk	Tue May 26 01:09:56 2015	(r283549)
@@ -255,7 +255,7 @@ LDADD_${_l}?=	-lprivate${_l}
 .else
 LDADD_${_l}?=	${LDADD_${_l}_L} -l${_l}
 .endif
-.if defined(_DP_${_l}) && defined(NO_SHARED)
+.if defined(_DP_${_l}) && defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO")
 .for _d in ${_DP_${_l}}
 DPADD_${_l}+=	${DPADD_${_d}}
 LDADD_${_l}+=	${LDADD_${_d}}



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