MFC r272484:

Add dependencies to various libraries to libzfs and libzpool.

Submitted by:	sef