From: Richard Yao Date: Tue, 5 Feb 2013 23:14:30 +0000 (-0500) Subject: Fix function relocations in libzpool X-Git-Tag: zfs-0.6.1~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=399f60c8b47f7513d078a7c181ff132e2cafdd15;p=zfs 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 --- 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