bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ncurses-5.7: libtool version-info


From: Thomas Dickey
Subject: Re: ncurses-5.7: libtool version-info
Date: Mon, 10 May 2010 04:24:27 -0400 (EDT)

On Fri, 7 May 2010, Peter Häring wrote:

ncurses compiled without libtool produces shared libraries with version
*.so.5.7. Compiled with libtool, shared libraries have version *.so.5.0.7.

libtool --mode-link -version-info 5:7 makes this.
Existing projects, especially when libtool is optionally, should use
-version-number instead of -version-info (see libtool documentation).
So, when replacing all occurences of version-info by version-number, shared
libraries get version *.so.5.7.0, wich is compatible with same version
compiled without libtool.

Patch sources with the following sed:
sed -i s/version-info/version-number/ aclocal.m4 c++/Makefile.in configure
mk-1st.awk

perhaps (it's been that way quite a while). Aside from the *BSD packager who added the feature long ago, does anyone use ncurses with libtool?

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]