mirror of
https://git.yoctoproject.org/poky
synced 2026-05-16 08:28:01 +02:00
The only libnsl2 function which is used by tcp-wrappers is 'yp_get_default_domain()'. When USE_GETDOMAIN is set, this is implemented as a simple wrapper around getdomainname() so that libnsl2 is not used at all. We added a patch which does '#include <rpcsvc/ypclnt.h>' to avoid implicit forward declaration. By conditionalizing this, the libnsl2 dependency can be dropped completely. (From OE-Core rev: b013f6ce40d315c894064cf9fa77d9c7a9dad2b0) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>