diff options
author | Brian Behlendorf <[email protected]> | 2011-07-05 12:12:08 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-07-06 09:20:28 -0700 |
commit | b1c932d318ae604b6968ffef136952af4e80a407 (patch) | |
tree | 19c11a51798b06ebcf9b3cb6384c5ad93be89b6c /lib/libspl | |
parent | 8b0cf399ff9e764a08faea654bd30043a861cb09 (diff) |
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.
Diffstat (limited to 'lib/libspl')
-rw-r--r-- | lib/libspl/Makefile.am | 4 | ||||
-rw-r--r-- | lib/libspl/Makefile.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libspl/Makefile.am b/lib/libspl/Makefile.am index f95e42bf0..586e6c0da 100644 --- a/lib/libspl/Makefile.am +++ b/lib/libspl/Makefile.am @@ -13,8 +13,6 @@ AM_CCASFLAGS = \ lib_LTLIBRARIES = libspl.la -libspl_la_LDFLAGS = -lrt - libspl_la_SOURCES = \ $(top_srcdir)/lib/libspl/getexecname.c \ $(top_srcdir)/lib/libspl/gethrtime.c \ @@ -31,3 +29,5 @@ libspl_la_SOURCES = \ $(top_srcdir)/lib/libspl/$(TARGET_ASM_DIR)/atomic.S \ $(top_srcdir)/lib/libspl/include/sys/list.h \ $(top_srcdir)/lib/libspl/include/sys/list_impl.h + +libspl_la_LDFLAGS = -lrt -version-info 1:0:0 diff --git a/lib/libspl/Makefile.in b/lib/libspl/Makefile.in index fa1ff51f1..8bfad8e41 100644 --- a/lib/libspl/Makefile.in +++ b/lib/libspl/Makefile.in @@ -379,7 +379,6 @@ AM_CCASFLAGS = \ -I$(top_srcdir)/lib/libspl/include lib_LTLIBRARIES = libspl.la -libspl_la_LDFLAGS = -lrt libspl_la_SOURCES = \ $(top_srcdir)/lib/libspl/getexecname.c \ $(top_srcdir)/lib/libspl/gethrtime.c \ @@ -397,6 +396,7 @@ libspl_la_SOURCES = \ $(top_srcdir)/lib/libspl/include/sys/list.h \ $(top_srcdir)/lib/libspl/include/sys/list_impl.h +libspl_la_LDFLAGS = -lrt -version-info 1:0:0 all: all-recursive .SUFFIXES: |