Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jun 2005 09:48:27 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        arch@freebsd.org
Subject:   Retiring static libpam support
Message-ID:  <864qc9mgqc.fsf@xps.des.no>

next in thread | raw e-mail | index | archive | help
Currently, libpam is built both dynamically (with modules in separate
files which it dlopen()s, like everybody else does) and statically
(with the modules compiled-in).  This is a major headache, because the
static modules need to be built before the static library, but the
dynamic library needs to be built before the dynamic modules, so we
have quite a bit of magic (thanks ru!) to build libpam in two passes.
There's also quite a bit of highly non-portable magic in OpenPAM to
support static linkage.

The funny thing, though, is that nothing in our tree acutally uses the
static libpam (unless you have NO_SHARED=3D in make.conf).  Therefore,
I'd like to remove the ability to build a static libpam altogether,
unless someone can come up with a very good reason not to.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864qc9mgqc.fsf>