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 <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1267
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