diff --git a/cmd/zfs/Makefile.am b/cmd/zfs/Makefile.am index d12a32f36a..4c6213e988 100644 --- a/cmd/zfs/Makefile.am +++ b/cmd/zfs/Makefile.am @@ -25,4 +25,4 @@ zfs_LDADD = \ $(top_builddir)/lib/libzpool/libzpool.la \ $(top_builddir)/lib/libzfs/libzfs.la -zfs_LDFLAGS = -pthread -lm +zfs_LDFLAGS = -pthread -lm -lz