diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-11-25 19:45:04 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-11-25 19:45:04 +0000 |
commit | e43323cdeacf5619c437f10956afb672692bb1bc (patch) | |
tree | e4f8eaa5db3f8302391c2825a32f03a4d0f3b94b | |
parent | 5111853afd85d7ae93fd442c015273137604520c (diff) | |
download | FreeBSD-src-e43323cdeacf5619c437f10956afb672692bb1bc.zip FreeBSD-src-e43323cdeacf5619c437f10956afb672692bb1bc.tar.gz |
META MODE: Avoid dirdep dependency on lib/libmd.
This avoids using the staged headers for sys/crypto/sha2/*.h, such as sha256.h,
which added an unneeded pre-build dependency on libmd to libcrypt. This
header is an INCS in lib/libmd, but found via .PATH in sys/crypto/sha2.
Since the libcrypt build was already using the in-src libmd headers
directly, just teach it how to find the sha256.h header as well.
Sponsored by: EMC / Isilon Storage Division
-rw-r--r-- | lib/libcrypt/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index 85bf948..70c4634 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -17,7 +17,8 @@ SRCS= crypt.c misc.c \ crypt-sha512.c sha512c.c MAN= crypt.3 MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3 -CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil +CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil \ + -I${.CURDIR}/../../sys/crypto/sha2 # Pull in the strong crypto, if it is present. .if exists(${.CURDIR}/../../secure/lib/libcrypt) && ${MK_CRYPT} != "no" |