aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mount_zfs/Makefile.am2
-rw-r--r--cmd/zfs/Makefile.am4
-rw-r--r--cmd/zpool/Makefile.am4
3 files changed, 8 insertions, 2 deletions
diff --git a/cmd/mount_zfs/Makefile.am b/cmd/mount_zfs/Makefile.am
index 616ee65a7..ed3208a9a 100644
--- a/cmd/mount_zfs/Makefile.am
+++ b/cmd/mount_zfs/Makefile.am
@@ -16,3 +16,5 @@ mount_zfs_LDADD = \
$(top_builddir)/lib/libzfs/libzfs.la \
$(top_builddir)/lib/libzfs_core/libzfs_core.la \
$(top_builddir)/lib/libnvpair/libnvpair.la
+
+mount_zfs_LDADD += $(LTLIBINTL)
diff --git a/cmd/zfs/Makefile.am b/cmd/zfs/Makefile.am
index 1ce721a8b..5c73477d2 100644
--- a/cmd/zfs/Makefile.am
+++ b/cmd/zfs/Makefile.am
@@ -16,6 +16,8 @@ zfs_LDADD = \
$(top_builddir)/lib/libnvpair/libnvpair.la \
$(top_builddir)/lib/libuutil/libuutil.la
+zfs_LDADD += $(LTLIBINTL)
+
if BUILD_FREEBSD
-zfs_LDADD += -L/usr/local/lib -lintl -lgeom -ljail
+zfs_LDADD += -lgeom -ljail
endif
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)