svn commit: r354806 - head/cddl/usr.bin/zstreamdump

Andriy Gapon avg at FreeBSD.org
Mon Nov 18 10:34:28 UTC 2019


Author: avg
Date: Mon Nov 18 10:34:27 2019
New Revision: 354806
URL: https://svnweb.freebsd.org/changeset/base/354806

Log:
  fix up r354804, link zstreamdump with libzfs
  
  Since r354804 libzpool depends on libzfs for get_system_hostid symbol.
  Except for zstreamdump, all binaries linked with libzpool were already
  linked with libzfs.  So, zstreamdump is the only fall-out.
  
  It's interesting that on amd64 not only I was able to successfully build
  zstreamdump, I am able to run it despite having the unresolved symbol in
  libzpool.
  
  MFC after:	4 weeks
  X-MFC with:	r354804

Modified:
  head/cddl/usr.bin/zstreamdump/Makefile

Modified: head/cddl/usr.bin/zstreamdump/Makefile
==============================================================================
--- head/cddl/usr.bin/zstreamdump/Makefile	Mon Nov 18 10:19:16 2019	(r354805)
+++ head/cddl/usr.bin/zstreamdump/Makefile	Mon Nov 18 10:34:27 2019	(r354806)
@@ -16,7 +16,7 @@ CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/
 CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common
 CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head
 
-LIBADD=	m nvpair umem zpool pthread z avl
+LIBADD=	m nvpair umem zpool zfs pthread z avl
 
 CSTD=	c99
 


More information about the svn-src-all mailing list