summaryrefslogtreecommitdiffstats
path: root/lib/libzfs/Makefile.am
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/libzfs/Makefile.am
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/libzfs/Makefile.am')
-rw-r--r--lib/libzfs/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libzfs/Makefile.am b/lib/libzfs/Makefile.am
index d8b35de67..dfe87edab 100644
--- a/lib/libzfs/Makefile.am
+++ b/lib/libzfs/Makefile.am
@@ -6,8 +6,6 @@ DEFAULT_INCLUDES += \
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 \
@@ -29,3 +27,5 @@ libzfs_la_SOURCES = \
$(top_srcdir)/lib/libzfs/libzfs_sendrecv.c \
$(top_srcdir)/lib/libzfs/libzfs_status.c \
$(top_srcdir)/lib/libzfs/libzfs_util.c
+
+libzfs_la_LDFLAGS = -lm -ldl $(LIBSELINUX) -version-info 1:0:0