Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2017 16:37:19 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326659 - head/share/mk
Message-ID:  <201712071637.vB7GbJ4i007041@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Dec  7 16:37:19 2017
New Revision: 326659
URL: https://svnweb.freebsd.org/changeset/base/326659

Log:
  Look for libraries in OBJDIR when building outside of buildworld.
  
  This allows build testing more easily without establishing a sysroot
  or installing the files.
  
  Sponsored by:	Dell EMC

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

Modified: head/share/mk/src.libnames.mk
==============================================================================
--- head/share/mk/src.libnames.mk	Thu Dec  7 15:16:17 2017	(r326658)
+++ head/share/mk/src.libnames.mk	Thu Dec  7 16:37:19 2017	(r326659)
@@ -359,7 +359,7 @@ LIB${_l:tu}?=	${LIBDESTDIR}${LIBDIR_BASE}/libprivate${
 .endfor
 
 .for _l in ${_LIBRARIES}
-.if ${_INTERNALLIBS:M${_l}}
+.if ${_INTERNALLIBS:M${_l}} || !defined(SYSROOT)
 LDADD_${_l}_L+=		-L${LIB${_l:tu}DIR}
 .endif
 DPADD_${_l}?=	${LIB${_l:tu}}



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