aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzpool
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-07-05 12:12:08 -0700
committerBrian Behlendorf <[email protected]>2011-07-06 09:20:28 -0700
commitb1c932d318ae604b6968ffef136952af4e80a407 (patch)
tree19c11a51798b06ebcf9b3cb6384c5ad93be89b6c /lib/libzpool
parent8b0cf399ff9e764a08faea654bd30043a861cb09 (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/libzpool')
-rw-r--r--lib/libzpool/Makefile.am2
-rw-r--r--lib/libzpool/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am
index da89e2988..a9a7a1e14 100644
--- a/lib/libzpool/Makefile.am
+++ b/lib/libzpool/Makefile.am
@@ -93,7 +93,7 @@ libzpool_la_SOURCES = \
$(top_srcdir)/module/zfs/zle.c \
$(top_srcdir)/module/zfs/zrlock.c
-libzpool_la_LDFLAGS = -pthread
+libzpool_la_LDFLAGS = -pthread -version-info 1:0:0
EXTRA_DIST = \
$(top_srcdir)/module/zfs/vdev_disk.c \
diff --git a/lib/libzpool/Makefile.in b/lib/libzpool/Makefile.in
index db27fd5c1..6d0f0d97c 100644
--- a/lib/libzpool/Makefile.in
+++ b/lib/libzpool/Makefile.in
@@ -429,7 +429,7 @@ libzpool_la_SOURCES = \
$(top_srcdir)/module/zfs/zle.c \
$(top_srcdir)/module/zfs/zrlock.c
-libzpool_la_LDFLAGS = -pthread
+libzpool_la_LDFLAGS = -pthread -version-info 1:0:0
EXTRA_DIST = \
$(top_srcdir)/module/zfs/vdev_disk.c \
$(top_srcdir)/module/zfs/zfs_acl.c \