This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make install-strip


Alexandre Oliva wrote:
> >  OK. Then passing INSTALL_STRIP_FLAG to libtool should be
> >  the right way.
> This would require libtool to recognize arbitrary strip flags and
> remove them or replace them with some more conservative
> platform-dependent flag, depending on whether the library is to be
> linked with later or not.  Currently libtool can't tell whether this
> is the case.

 Currently, libtool ignores the strip flag (-s) for libraries,
 so it won't break compatibility.

> >  In any case, libtool should decide whether it can strip libraries.
> Well, if you can figure out a way to tell which is the strip flag
> being passed to an arbitrary install program, and them remove it or
> replace it with something else, as appropriate, when installing
> libraries, and removing it completely when installing the .la file,
> I'm all for it.  We just can't afford installing unusable libraries,
> or failing because strip does not recognize the format of a .la file.

 No, it's much easier (please look at libtool's install code):
 We could check whether GNU strip is available and, if -s is
 passed for a library, we would strip the uninstalled library
 using "strip --strip-unneeded" and let "install" install
 the library as usual (without the -s flag).

Thomas Tanner -----------------------------------------
email: tanner@(ffii.org|gnu.org|ggi-project.org|gmx.de)
web:   http://home.pages.de/~tanner
GGI/Picasso: http://picasso.ffii.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]