mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +03:00
716895b161
Compiling with 'LDFLAGS=-Wl,--as-needed' exposed the fact that there were some library linking problems introduced by mount_zfs. In particular, the libzfs library does use nvpair symbols, and mount_zfs contains no dependencies on libzpool. Closes #161 Closes #162
31 lines
976 B
Makefile
31 lines
976 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/libnvpair/libnvpair.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
|