summaryrefslogtreecommitdiffstats
path: root/cmd/zfs/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zfs/Makefile.am')
-rw-r--r--cmd/zfs/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/zfs/Makefile.am b/cmd/zfs/Makefile.am
index c1499a2a8..08580c92d 100644
--- a/cmd/zfs/Makefile.am
+++ b/cmd/zfs/Makefile.am
@@ -19,4 +19,5 @@ zfs_LDADD = \
$(top_builddir)/lib/libzfs/libzfs.la \
$(top_builddir)/lib/libzfs_core/libzfs_core.la
-zfs_LDFLAGS = -pthread -lm $(ZLIB) -lrt -ldl $(LIBUUID) $(LIBBLKID)
+zfs_LDADD += $(ZLIB)
+zfs_LDFLAGS = -pthread