]> granicus.if.org Git - zfs/commitdiff
Fix function relocations in libzpool
authorRichard Yao <ryao@cs.stonybrook.edu>
Tue, 5 Feb 2013 23:14:30 +0000 (18:14 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 5 Feb 2013 23:33:32 +0000 (15:33 -0800)
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

lib/libzpool/Makefile.am

index 3e62de63715c6f8616857a2464b3bd28dc9a1b51..cbba38896f27d46ae72d770fec16e3c5cee1224a 100644 (file)
@@ -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