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
MFC after:	3 days
This commit is contained in:
Dimitry Andric 2020-04-25 20:24:41 +00:00
parent 56005e4b71
commit 61fbd61b59

View File

@ -2760,7 +2760,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
lib/libkvm__L: lib/libelf__L
.if ${MK_LIBTHR} != "no"