cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: SONAME change

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 15 Nov 2012 18:07:31 +0100 (CET)

On Thu, 15 Nov 2012, Yehezkel Horowitz wrote:

> This is what I see in lib/Makefile (by grep VERSIONINFO lib/Makefile)
> VERSIONINFO = -version-info 6:0:2
> #VERSIONINFO = -version-info 7:0:2
> libcurl_la_LDFLAGS = $(UNDEF) $(VERSIONINFO) $(MIMPURE) $(VERSIONED_SYMBOLS) $(LIBCURL_LIBS)
>
> How this is going to change the targeted library name?
> Which value should I override in the CLI?

$ cd $CURLSOURCEROOT/lib
$ make "VERSIONINFO=-version-info 6:0:2"

Done.

The 6:0:2 series in this case comes from the existing libcurl release and the
numbers are documented in the libtool man page:

      -version-info CURRENT[:REVISION[:AGE]]
             specify library version info [each variable defaults to 0]

The longer documentation is here:

http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-15