mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Add proper library versioning
The zfs libraries were never properly versioned. Since the API has remained static for quite some time this we never an issue. However, going forward they should be versioned. This commit versions all of the libraries to 1.0.0. From here on out this version must be updated to reflect changes to the library.
This commit is contained in:
@@ -14,5 +14,7 @@ libnvpair_la_SOURCES = \
|
||||
$(top_srcdir)/module/nvpair/nvpair_alloc_fixed.c \
|
||||
$(top_srcdir)/module/nvpair/nvpair.c
|
||||
|
||||
libnvpair_la_LDFLAGS = -version-info 1:0:0
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(top_srcdir)/module/nvpair/nvpair_alloc_spl.c
|
||||
|
||||
@@ -117,6 +117,9 @@ libnvpair_la_OBJECTS = $(am_libnvpair_la_OBJECTS)
|
||||
AM_V_lt = $(am__v_lt_$(V))
|
||||
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_lt_0 = --silent
|
||||
libnvpair_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(libnvpair_la_LDFLAGS) $(LDFLAGS) -o $@
|
||||
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
am__mv = mv -f
|
||||
@@ -330,6 +333,7 @@ libnvpair_la_SOURCES = \
|
||||
$(top_srcdir)/module/nvpair/nvpair_alloc_fixed.c \
|
||||
$(top_srcdir)/module/nvpair/nvpair.c
|
||||
|
||||
libnvpair_la_LDFLAGS = -version-info 1:0:0
|
||||
EXTRA_DIST = \
|
||||
$(top_srcdir)/module/nvpair/nvpair_alloc_spl.c
|
||||
|
||||
@@ -399,7 +403,7 @@ clean-libLTLIBRARIES:
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
libnvpair.la: $(libnvpair_la_OBJECTS) $(libnvpair_la_DEPENDENCIES)
|
||||
$(AM_V_CCLD)$(LINK) -rpath $(libdir) $(libnvpair_la_OBJECTS) $(libnvpair_la_LIBADD) $(LIBS)
|
||||
$(AM_V_CCLD)$(libnvpair_la_LINK) -rpath $(libdir) $(libnvpair_la_OBJECTS) $(libnvpair_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
Reference in New Issue
Block a user