Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2019 10:34:27 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354806 - head/cddl/usr.bin/zstreamdump
Message-ID:  <201911181034.xAIAYRWB062910@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911181034.xAIAYRWB062910>