Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/iscsi Add --version-info libtool flag so that l...
details: https://anonhg.NetBSD.org/src/rev/c630d0205110
branches: trunk
changeset: 754000:c630d0205110
user: sborrill <sborrill%NetBSD.org@localhost>
date: Thu Apr 15 20:56:32 2010 +0000
description:
Add --version-info libtool flag so that libiscsi.so major/minor can be kept
in sync with that in shlib_version.
Add a note in shlib_version as a reminder to update lib/Makefile.am (and
from there lib/Makefile.in).
diffstat:
external/bsd/iscsi/dist/src/lib/Makefile.am | 4 +++-
external/bsd/iscsi/dist/src/lib/Makefile.in | 3 +++
external/bsd/iscsi/lib/shlib_version | 5 ++++-
3 files changed, 10 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r 06ba00574b9f -r c630d0205110 external/bsd/iscsi/dist/src/lib/Makefile.am
--- a/external/bsd/iscsi/dist/src/lib/Makefile.am Thu Apr 15 20:46:08 2010 +0000
+++ b/external/bsd/iscsi/dist/src/lib/Makefile.am Thu Apr 15 20:56:32 2010 +0000
@@ -1,7 +1,9 @@
-## $NetBSD: Makefile.am,v 1.2 2009/06/30 02:44:52 agc Exp $
+## $NetBSD: Makefile.am,v 1.3 2010/04/15 20:56:32 sborrill Exp $
AM_CFLAGS = $(WARNCFLAGS)
+AM_LDFLAGS = -version-info 0:2:0
+
lib_LTLIBRARIES = libiscsi.la
libiscsi_la_CPPFLAGS = -I$(top_srcdir)/include
diff -r 06ba00574b9f -r c630d0205110 external/bsd/iscsi/dist/src/lib/Makefile.in
--- a/external/bsd/iscsi/dist/src/lib/Makefile.in Thu Apr 15 20:46:08 2010 +0000
+++ b/external/bsd/iscsi/dist/src/lib/Makefile.in Thu Apr 15 20:56:32 2010 +0000
@@ -190,6 +190,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AM_CFLAGS = $(WARNCFLAGS)
+AM_LDFLAGS = -version-info 0:2:0
lib_LTLIBRARIES = libiscsi.la
libiscsi_la_CPPFLAGS = -I$(top_srcdir)/include
libiscsi_la_SOURCES = \
@@ -209,6 +210,8 @@
util.c \
uuid.c
+libiscsi_la_LDFLAGS = -no-undefined -version-info 0:2:0
+
man3_MANS = libiscsi.3
dist_man_MANS = libiscsi.3
all: all-am
diff -r 06ba00574b9f -r c630d0205110 external/bsd/iscsi/lib/shlib_version
--- a/external/bsd/iscsi/lib/shlib_version Thu Apr 15 20:46:08 2010 +0000
+++ b/external/bsd/iscsi/lib/shlib_version Thu Apr 15 20:56:32 2010 +0000
@@ -1,5 +1,8 @@
-# $NetBSD: shlib_version,v 1.2 2009/06/25 13:47:12 agc Exp $
+# $NetBSD: shlib_version,v 1.3 2010/04/15 20:56:32 sborrill Exp $
# Remember to update distrib/sets/lists/base/shl.* when changing
#
+# Also update dist/src/lib/Makefile.am with the correct version number
+# and regenerate dist/src/lib/Makefile.in
+
major=2
minor=0
Home |
Main Index |
Thread Index |
Old Index