Re: Cross build 13.1 from OSX

From: Daniel O'Connor <darius_at_dons.net.au>
Date: Thu, 14 Jul 2022 03:01:50 UTC

> On 13 Jul 2022, at 15:46, Daniel O'Connor <darius@dons.net.au> wrote:
> 
> ld: library not found for -lcrypt
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
> 
> Stop.
> bmake[3]: stopped in /Users/oconnd1/projects/freebsd/usr.bin/compile_et
> *** Error code 1
> 
> My tree is a (slightly modified) clone of fc952ac2212b121aa6eefc273f5960ec3e0a466d
> 
> I see usr.bin/compile_et/Makefile.depend has libcrypt but not sure why it doesn't get built.

Adding 'crypt' to LIBADD gets the build working, not sure if that is the right solution or a kludge though.

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum