This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: make install-strip
Alexandre Oliva wrote:
> Thomas> I wonder why automake's "make install-strip" doesn't
> Thomas> strip libtool libraries.
> Thomas> Why isn't the INSTALL_STRIP_FLAG passed to libtool?
> > Historically libtool has used $(INSTALL) and not $(INSTALL_PROGRAM).
> > I don't know why.
> That's because some platforms require specific modes on shared
> libraries for them to run. AFAIR, HPsUX requires mode 555, for
> example, and INSTALL_PROGRAM, that defaults to 755, would get it
> wrong.
OK. Then passing INSTALL_STRIP_FLAG to libtool should be
the right way.
> Besides, stripping a library usually means you'll no longer be able to
> link with it, which doesn't make much sense to me.
It works fine with GNU strip (binutils package):
strip --strip-unneeded libfoo.so
strip --strip-debug libfoo.a
In any case, libtool should decide whether
it can strip libraries.
--
Thomas Tanner -------------------------------------------------
email: tanner@(gmx.de|gnu.org|ffii.org|ggi-project.org|mucl.de)
web: http://home.pages.de/~tanner
GGI/Picasso: http://picasso.ffii.org