mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 18:11:00 +03:00
a6ce1eae54
The GNU libtool documentation states to start with a version of 0:0:0, rather than 1:1:0. Illumos uses the name libzfs_core.so.1, so to be consistent, we should go with 1:0:0. http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info The GNU libtool documentation also provides guidence on how the version information should be incremented. Doing this does a SONAME bump of the libzfs and libzpool libraries. This is particularly important on Gentoo because a SONAME bump enables portage to retain the older libraries until any packages that link to them are rebuilt. The main example of this is GRUB2's grub2-mkconfig, which will break unless it is rebuilt against the new libraries. Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #1751
32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
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_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_iter.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
|
|
|
|
libzfs_la_LIBADD = \
|
|
$(top_builddir)/lib/libzfs_core/libzfs_core.la \
|
|
$(top_builddir)/lib/libshare/libshare.la \
|
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
|
$(top_builddir)/lib/libzpool/libzpool.la
|
|
|
|
libzfs_la_LIBADD += -lm -ldl $(LIBBLKID)
|
|
libzfs_la_LDFLAGS = -version-info 2:0:0
|