lib/libcrypt: reinstate CFLAGS+=-I${SRCTOP}/sys/crypto/sha2

This is apparently needed for the cross-build from Linux to succeed.

Fixes:		cb5e41b160
This commit is contained in:
Robert Clausecker 2024-10-26 16:16:10 +02:00
parent 39f6d1e7f8
commit 87c2aab0a0

View File

@ -1,6 +1,3 @@
#
#
SHLIBDIR?= /lib
.include <src.opts.mk>
@ -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"