Subject: Re: Omitting static libraries from installed packages
To: Roland Illig <roland.illig@gmx.de>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 02/25/2005 14:46:13
On Thu, 17 Feb 2005, Roland Illig wrote:
> to save disk space, I would like to not install the static libraries
> lib/lib*.a. I tried that with the package devel/libidn, as it uses
> GNU_CONFIGURE and libtool.
> So why is the --disable-static option useless when USE_LIBTOOL is #defined in
> the Makefile?
The libtool configure bits are, more or less, garbage, as pkgsrc overrides
the final libtool script. Put the following in mk.conf, and you'll only get
shared libs from libtool-aware packages.
PKG_LIBTOOL= ${PKG_SHLIBTOOL}
--
-- Todd Vierling <tv@duh.org> <tv@pobox.com>