From 617e19d13563f68b9e547c0b39e143d84412a327 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 1 May 2020 18:27:14 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.freebsd.org/base/stable/10@360542 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 688e6f74b..a0b9cf4ad 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) -- 2.42.0