mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Let libnvpair be linked independently of libzfs.
Autoconf will fail to detect the ZoL libnvpair on systems that do not implicitly link library runtime dependencies, which is anything that has the GCC 4.5 DCO update. Build libuutil before libnvpair, and put it on the the LDADD line of the libnvpair automake template. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes: #560
This commit is contained in:
committed by
Brian Behlendorf
parent
47621f3d76
commit
e67329d8e0
@@ -14,6 +14,9 @@ libnvpair_la_SOURCES = \
|
||||
$(top_srcdir)/module/nvpair/nvpair_alloc_fixed.c \
|
||||
$(top_srcdir)/module/nvpair/nvpair.c
|
||||
|
||||
libnvpair_la_LIBADD = \
|
||||
$(top_builddir)/lib/libuutil/libuutil.la
|
||||
|
||||
libnvpair_la_LDFLAGS = -version-info 1:1:0
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
||||
@@ -116,7 +116,7 @@ am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__installdirs = "$(DESTDIR)$(libdir)"
|
||||
LTLIBRARIES = $(lib_LTLIBRARIES)
|
||||
libnvpair_la_LIBADD =
|
||||
libnvpair_la_DEPENDENCIES = $(top_builddir)/lib/libuutil/libuutil.la
|
||||
am_libnvpair_la_OBJECTS = libnvpair.lo nvpair_alloc_system.lo \
|
||||
nvpair_alloc_fixed.lo nvpair.lo
|
||||
libnvpair_la_OBJECTS = $(am_libnvpair_la_OBJECTS)
|
||||
@@ -348,6 +348,9 @@ libnvpair_la_SOURCES = \
|
||||
$(top_srcdir)/module/nvpair/nvpair_alloc_fixed.c \
|
||||
$(top_srcdir)/module/nvpair/nvpair.c
|
||||
|
||||
libnvpair_la_LIBADD = \
|
||||
$(top_builddir)/lib/libuutil/libuutil.la
|
||||
|
||||
libnvpair_la_LDFLAGS = -version-info 1:1:0
|
||||
EXTRA_DIST = \
|
||||
$(top_srcdir)/module/nvpair/nvpair_alloc_spl.c
|
||||
|
||||
Reference in New Issue
Block a user