From 399f60c8b47f7513d078a7c181ff132e2cafdd15 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Tue, 5 Feb 2013 18:14:30 -0500 Subject: 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 Signed-off-by: Brian Behlendorf Closes #1267 --- lib/libzpool/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libzpool') 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 -- cgit v1.2.3