aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzpool/Makefile.am
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2013-02-05 18:14:30 -0500
committerBrian Behlendorf <[email protected]>2013-02-05 15:33:32 -0800
commit399f60c8b47f7513d078a7c181ff132e2cafdd15 (patch)
tree1d177ef932624305312a3b3a0f8a5fed1d7c1e4f /lib/libzpool/Makefile.am
parentdd26aa535b395735ca61ea2a3e618aded45eb05e (diff)
Fix function relocations in libzpool
binutils 2.23.1 fails in situations that generate function relocations on PowerPC and possibly other architectures. This causes linking of libzpool to fail because it depends on libnvpair. We add a dependency on libnvpair to lib/libzpool/Makefile.am to correct that. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #1267
Diffstat (limited to 'lib/libzpool/Makefile.am')
-rw-r--r--lib/libzpool/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am
index 3e62de637..cbba38896 100644
--- a/lib/libzpool/Makefile.am
+++ b/lib/libzpool/Makefile.am
@@ -94,7 +94,8 @@ libzpool_la_SOURCES = \
libzpool_la_LIBADD = \
$(top_builddir)/lib/libunicode/libunicode.la \
- $(top_builddir)/lib/libuutil/libuutil.la
+ $(top_builddir)/lib/libuutil/libuutil.la \
+ $(top_builddir)/lib/libnvpair/libnvpair.la
libzpool_la_LDFLAGS = -pthread -version-info 1:1:0