File: 0001-tweaked-libtool-package-versioning-to-conform-with-d.patch

package info (click to toggle)
liblbfgs 1.10-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 392 kB
  • sloc: ansic: 1,631; cpp: 102; makefile: 39; sh: 30
file content (22 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Dima Kogan <dima@secretsauce.net>
Date: Tue, 1 Nov 2011 00:53:15 -0700
Subject: tweaked libtool package versioning to conform with debian
Forwarded: not-needed

---
 lib/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index c49bd03..1ec8ac3 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -18,7 +18,7 @@ liblbfgs_la_SOURCES = \
 
 liblbfgs_la_LDFLAGS = \
 	-no-undefined \
-	-release @VERSION@
+	-version-info `echo @VERSION@.1 | sed 's/\./:/g'`
 
 AM_CFLAGS = @CFLAGS@
 INCLUDES = @INCLUDES@