svn commit: r326659 - head/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Thu Dec 7 16:37:20 UTC 2017
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}}
More information about the svn-src-head
mailing list