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 <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1267
This commit is contained in:
Richard Yao 2013-02-05 18:14:30 -05:00 committed by Brian Behlendorf
parent dd26aa535b
commit 399f60c8b4

View File

@ -94,7 +94,8 @@ libzpool_la_SOURCES = \
libzpool_la_LIBADD = \ libzpool_la_LIBADD = \
$(top_builddir)/lib/libunicode/libunicode.la \ $(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 libzpool_la_LDFLAGS = -pthread -version-info 1:1:0