From 87c2aab0a0b3db2a4690773b869e8cfc8b3ac6c2 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Sat, 26 Oct 2024 16:16:10 +0200 Subject: [PATCH] lib/libcrypt: reinstate CFLAGS+=-I${SRCTOP}/sys/crypto/sha2 This is apparently needed for the cross-build from Linux to succeed. Fixes: cb5e41b160838880de7d03100afa02e4edee5a9e --- lib/libcrypt/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index 5a9eac4c682f..e939bae1bc25 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -1,6 +1,3 @@ -# -# - SHLIBDIR?= /lib .include @@ -18,7 +15,8 @@ SRCS= crypt.c misc.c \ MAN= crypt.3 MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_r.3 \ crypt.3 crypt_set_format.3 -CFLAGS+= -I${SRCTOP}/lib/libmd +CFLAGS+= -I${SRCTOP}/lib/libmd \ + -I${SRCTOP}/sys/crypto/sha2 # Pull in the strong crypto, if it is present. .if exists(${SRCTOP}/secure/lib/libcrypt) && ${MK_CRYPT} != "no"