Re: Customizing soname
Alon Bar-Lev wrote: On 3/28/08, Roumen Petrov <[EMAIL PROTECTED]> wrote: You request is to change library name. So I could not understand what is related to SONAME. It came as a surprise to me to allow user(verdor) to change library name at configure time. It for generating a differnet module using automake. At the end SONAME matches the module name. So with automake makefile like this : lib_LTLIBRARIES = @[EMAIL PROTECTED] @[EMAIL PROTECTED] = module.c @[EMAIL PROTECTED] = -module -avoid-version where MODULE is substituted by configure you can get result. Roumen ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: Customizing soname
On 3/29/08, Roumen Petrov <[EMAIL PROTECTED]> wrote: > So with automake makefile like this : > lib_LTLIBRARIES = @[EMAIL PROTECTED] > @[EMAIL PROTECTED] = module.c > @[EMAIL PROTECTED] = -module -avoid-version > > where MODULE is substituted by configure you can get result. Thanks! It works. Although I am sure I tried this in several notations, and in all I got automake error that this must not be none constant. Strange... I still think that libtool should enable soname to be customized :) Thanks! Alon. ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: Customizing soname
Alon Bar-Lev wrote: On 3/29/08, Roumen Petrov <[EMAIL PROTECTED]> wrote: So with automake makefile like this : lib_LTLIBRARIES = @[EMAIL PROTECTED] @[EMAIL PROTECTED] = module.c @[EMAIL PROTECTED] = -module -avoid-version where MODULE is substituted by configure you can get result. Thanks! It works. Although I am sure I tried this in several notations, and in all I got automake error that this must not be none constant. Strange... I still think that libtool should enable soname to be customized :) May be is good libtool to preserve some variables from CONFIG_SITE file (libname_spec, soname_spec, etc ??? ) . In was my case http://lists.gnu.org/archive/html/libtool/2007-07/msg00044.html . It is similar to you case since I would like to be able to define name of library file on a particular platform(host), but I don't like to change library internal name (soname). Roumen ___ http://lists.gnu.org/mailman/listinfo/libtool