Probable hack fix for current build breakage.

Make sure to build external/mit before external/mpl (as bind in mpl
needs libuv from mit) and in mit/libuv make sure to build the
static library with the new MAKESTATICLIB mechanism, as that is
what bind needs.
This commit is contained in:
kre 2024-04-05 08:51:27 +00:00
parent 6aa7c5ec4b
commit 390195052f
2 changed files with 6 additions and 3 deletions

4
external/Makefile vendored
View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.23 2021/12/12 20:33:21 maya Exp $
# $NetBSD: Makefile,v 1.24 2024/04/05 08:51:27 kre Exp $
SUBDIR+= amdgpu-firmware apache2 atheros broadcom bsd cddl gpl2 gpl3 historical
SUBDIR+= intel-fw-eula intel-fw-public ibm-public mpl mit nvidia-firmware ofl
SUBDIR+= intel-fw-eula intel-fw-public ibm-public mit .WAIT mpl nvidia-firmware ofl
SUBDIR+= public-domain realtek
.include <bsd.subdir.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2022/09/22 21:22:50 christos Exp $
# $NetBSD: Makefile,v 1.7 2024/04/05 08:51:27 kre Exp $
LIBISPRIVATE=pic
@ -7,6 +7,9 @@ LIBISPRIVATE=pic
MKLINT= no
LIB= uv
MAKESTATICLIB=yes
MAKELINKLIB=yes
.if ${LIBISPRIVATE:Uno} == "no"
INCS= uv.h uv/unix.h uv/bsd.h uv/errno.h uv/version.h uv/threadpool.h
INCSDIR=/usr/include