mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 18:31:00 +03:00
5075c7ea69
The libspl and libzpool libraries were missing from the libzfs Makefile.am. They should be explicitly listed to avoid build issues when compiling static libraries and binaries. Additionally, ensure libzpool is built before libzfs because libzfs is dependent on libzpool. This was also exposed as an issue when forcing static linking.
30 lines
930 B
Makefile
30 lines
930 B
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
DEFAULT_INCLUDES += \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/lib/libspl/include
|
|
|
|
lib_LTLIBRARIES = libzfs.la
|
|
|
|
libzfs_la_LDFLAGS = -lm -ldl $(LIBSELINUX)
|
|
|
|
libzfs_la_LIBADD = \
|
|
$(top_builddir)/lib/libspl/libspl.la \
|
|
$(top_builddir)/lib/libefi/libefi.la \
|
|
$(top_builddir)/lib/libuutil/libuutil.la \
|
|
$(top_builddir)/lib/libzpool/libzpool.la
|
|
|
|
libzfs_la_SOURCES = \
|
|
$(top_srcdir)/lib/libzfs/libzfs_changelist.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_config.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_dataset.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_diff.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_fru.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_graph.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_import.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_mount.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_pool.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_sendrecv.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_status.c \
|
|
$(top_srcdir)/lib/libzfs/libzfs_util.c
|