1234567891011121314151617181920212223242526272829303132333435 |
- From 399f60c8b47f7513d078a7c181ff132e2cafdd15 Mon Sep 17 00:00:00 2001
- From: Richard Yao <ryao@cs.stonybrook.edu>
- Date: Tue, 5 Feb 2013 18:14:30 -0500
- Subject: [PATCH] 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
- ---
- lib/libzpool/Makefile.am | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
- diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am
- index 3e62de6..cbba388 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
-
- --
- 1.7.10
|