summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-03-04 22:37:16 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-03-04 22:37:16 +0000
commit179ee8e307398c1325195657cce49fb850cf499b (patch)
tree6a6151ac6550a03ea296ca55eb292069bfa21a72 /Makefile.inc1
parent2fb6829f3e98004ef23d2ed97cbe9e3d7988ae25 (diff)
downloadFreeBSD-src-179ee8e307398c1325195657cce49fb850cf499b.zip
FreeBSD-src-179ee8e307398c1325195657cce49fb850cf499b.tar.gz
Don't add duplicates from LOCAL_LIB_DIRS.
This causes parallel failures. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index ffa3f00..c820794 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1935,7 +1935,7 @@ lib/liblzma__L: lib/libthr__L
_generic_libs= ${_cddl_lib} gnu/lib ${_kerberos5_lib} lib ${_secure_lib} usr.bin/lex/lib ${_ofed_lib}
.for _DIR in ${LOCAL_LIB_DIRS}
-.if exists(${.CURDIR}/${_DIR}/Makefile)
+.if exists(${.CURDIR}/${_DIR}/Makefile) && empty(_generic_libs:M${_DIR})
_generic_libs+= ${_DIR}
.endif
.endfor
OpenPOWER on IntegriCloud