Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tcp-wrappers: drop libnsl2 build dependency
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. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Loading branch information