Re: Renaming a library.
Le Tue, May 26, 2009 at 01:53:22PM +0200, Daniel Leidert a écrit :
> You can modify the Makefile.in. So you don't need to run the
> autotools chain.
> > --- a/io_lib/Makefile.am
> > +++ b/io_lib/Makefile.am
> > @@ -1,6 +1,6 @@
> > -lib_LIBRARIES = libread.a
> > +lib_LIBRARIES = libstaden-read.a
> > -libread_a_SOURCES = \
> > +libstaden-read_a_SOURCES = \
> Replace the minus with an underscore:
> libstaden_read_a_SOURCES = ...
> in such variables and you will get rid of:
> > io_lib/Makefile.am:3: bad characters in variable name
> > `libstaden-read_a_SOURCES'
> those errors. Then everything should be fine.
thank you very much for the help! Since I am also libtoolizing the library so
that I can build statically other packages on it, I think that I have no other
choice than touching the Makefile.am. I will submit the patch upstream, but he
is concerned by the risk of breaking things on non-linux platforms, to the
patch will take time to be accepted.
Have a nice day,
Debian Med packaging team,
Tsurumi, Kanagawa, Japan