Fix bootstrapping libmd on older systems after r314709.
authorbdrewery <bdrewery@FreeBSD.org>
Mon, 6 Mar 2017 21:06:55 +0000 (21:06 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Mon, 6 Mar 2017 21:06:55 +0000 (21:06 +0000)
commit4181033340b5e9b6788de35b0cf5b5321551ee44
tree956e53585c7c86549253e15bc440bdc9a7d175a9
parent4890e5b3e09e0c0bbafc64f006b68f3eeb8c8857
Fix bootstrapping libmd on older systems after r314709.

This follows another fix to bootstrap libmd after r313404.  The
MD5FileChunk prototype is needed to build libmd, but it is
only reliably in the src tree's sys/md5.h header.  Rather than
polluting the legacy build with this header for the entire build,
just symlink it in here for now as is done in the elftoolchain
build.  Libmd is already referencing other src tree headers by
its used of CFLAGS+= ${SRCTOP}/sys/crypto/sha2.  This, and
other uses of CFLAGS+= ${SRCTOP}/sys..., may later change to
be in the legacy mechanism.

Reported by: bde, ian, sjg
Tested by: ian
lib/libmd/Makefile