aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-05-01 18:27:14 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-05-01 18:27:14 +0000
commitb6ef66b02713854c82f19ce53ea8089d7933b9ed (patch)
tree2b4a63319bde669a37091a46f594ff785088271e
parent42789815e0324c80abe537992f9ed7c73cdb63bf (diff)
downloadsrc-b6ef66b02713854c82f19ce53ea8089d7933b9ed.tar.gz
src-b6ef66b02713854c82f19ce53ea8089d7933b9ed.zip
MFC r360322:
Fix race between prebuilding libsbuf and libgeom The latter needs the former, but with a multi-job build on a fast machine, the race is sometimes lost. This leads to "ld: error: unable to find library -lsbuf", when linking libgeom.so. Submitted by: kevans
Notes
Notes: svn path=/stable/10/; revision=360542
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 688e6f74b4d0..a0b9cf4ad03f 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1738,7 +1738,7 @@ gnu/lib/libdialog__L: lib/msun__L lib/ncurses/ncursesw__L
_prebuild_libs+= lib/libc++
.endif
-lib/libgeom__L: lib/libexpat__L
+lib/libgeom__L: lib/libexpat__L lib/libsbuf__L
.if defined(WITH_ATF) || ${MK_TESTS} != "no"
.if !defined(WITH_ATF)