mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
e67329d8e0
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
24 lines
605 B
Makefile
24 lines
605 B
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
|
|
|
DEFAULT_INCLUDES += \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/lib/libspl/include
|
|
|
|
lib_LTLIBRARIES = libnvpair.la
|
|
|
|
libnvpair_la_SOURCES = \
|
|
$(top_srcdir)/lib/libnvpair/libnvpair.c \
|
|
$(top_srcdir)/lib/libnvpair/nvpair_alloc_system.c \
|
|
$(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
|