aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zpool
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zpool')
-rw-r--r--cmd/zpool/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/zpool/Makefile.am b/cmd/zpool/Makefile.am
index 04bdbffcd..cd847a170 100644
--- a/cmd/zpool/Makefile.am
+++ b/cmd/zpool/Makefile.am
@@ -27,8 +27,10 @@ zpool_LDADD = \
$(top_builddir)/lib/libnvpair/libnvpair.la \
$(top_builddir)/lib/libuutil/libuutil.la
+zpool_LDADD += $(LTLIBINTL)
+
if BUILD_FREEBSD
-zpool_LDADD += -L/usr/local/lib -lintl -lgeom
+zpool_LDADD += -lgeom
endif
zpool_LDADD += -lm $(LIBBLKID_LIBS) $(LIBUUID_LIBS)