openwrt-packages/net/krb5
Sergey V. Lobanov e660ac3398 krb5: fix build on macos
backport of upstream commit
3c66c1fec7
Original author: Nikhil Benesch <nikhil.benesch@gmail.com>

Remove unnecessary flag in macOS build
The configuration logic for adding the `-search_paths_first` linker
flag on Darwin does not correctly handle cross compilation.  It should
check the value of $krb5_cv_host rather than `uname -s` to detect when
the compilation target is Darwin, rather than the build machine.

It turns out `-search_paths_first` has been the default behavior of ld
on macOS since XCode 4.  So just remove that bit of logic entirely.
(The flag was added in commit acd27af0e845f8b93de2e226cc2ec9ac8af52077
in 2004; XCode 4 was released in 2010.)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-09 13:43:48 -08:00
..
files krb5: allow installing without kadmind 2019-04-11 21:13:54 -04:00
patches krb5: fix build on macos 2022-01-09 13:43:48 -08:00
Makefile krb5: update to 1.19.2 2021-12-13 09:03:05 +01:00