aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libnvpair/Makefile.am4
-rw-r--r--lib/libuutil/Makefile.am2
-rw-r--r--lib/libzfs/Makefile.am2
-rw-r--r--lib/libzfs_core/Makefile.am2
4 files changed, 6 insertions, 4 deletions
diff --git a/lib/libnvpair/Makefile.am b/lib/libnvpair/Makefile.am
index c29714342..181bde9b2 100644
--- a/lib/libnvpair/Makefile.am
+++ b/lib/libnvpair/Makefile.am
@@ -29,11 +29,9 @@ nodist_libnvpair_la_SOURCES = \
libnvpair_la_LIBADD = \
$(top_builddir)/lib/libspl/libspl_assert.la
-libnvpair_la_LIBADD += \
- $(LIBTIRPC_LIBS)
+libnvpair_la_LIBADD += $(LIBTIRPC_LIBS) $(LTLIBINTL)
if BUILD_FREEBSD
-libnvpair_la_LIBADD += -L/usr/local/lib -lintl
libnvpair_la_LDFLAGS = -version-info 3:0:0
else
libnvpair_la_LDFLAGS = -version-info 1:1:0
diff --git a/lib/libuutil/Makefile.am b/lib/libuutil/Makefile.am
index 2d8eab681..fd217ff8f 100644
--- a/lib/libuutil/Makefile.am
+++ b/lib/libuutil/Makefile.am
@@ -19,6 +19,8 @@ libuutil_la_LIBADD = \
$(top_builddir)/lib/libavl/libavl.la \
$(top_builddir)/lib/libspl/libspl.la
+libuutil_la_LIBADD += $(LTLIBINTL)
+
libuutil_la_LDFLAGS = -pthread
if BUILD_FREEBSD
diff --git a/lib/libzfs/Makefile.am b/lib/libzfs/Makefile.am
index 836669e2a..7e07bf1e3 100644
--- a/lib/libzfs/Makefile.am
+++ b/lib/libzfs/Makefile.am
@@ -81,7 +81,7 @@ libzfs_la_LIBADD += \
$(top_builddir)/lib/libnvpair/libnvpair.la \
$(top_builddir)/lib/libuutil/libuutil.la
-libzfs_la_LIBADD += -lm $(LIBCRYPTO_LIBS) $(ZLIB_LIBS)
+libzfs_la_LIBADD += -lm $(LIBCRYPTO_LIBS) $(ZLIB_LIBS) $(LTLIBINTL)
libzfs_la_LDFLAGS = -pthread
diff --git a/lib/libzfs_core/Makefile.am b/lib/libzfs_core/Makefile.am
index 44940e915..39731f312 100644
--- a/lib/libzfs_core/Makefile.am
+++ b/lib/libzfs_core/Makefile.am
@@ -13,6 +13,8 @@ libzfs_core_la_LIBADD = \
$(top_builddir)/lib/libzutil/libzutil.la \
$(top_builddir)/lib/libnvpair/libnvpair.la
+libzfs_core_la_LIBADD += $(LTLIBINTL)
+
libzfs_core_la_LDFLAGS = -pthread
if BUILD_FREEBSD