[Zlib-devel] [PATCH] Makefile.in: removed call to ldconfig
Mike Frysinger
vapier at gentoo.org
Fri Jul 23 06:35:22 EDT 2010
On Friday, July 23, 2010 06:13:14 Enrico Weigelt wrote:
> * Mike Frysinger schrieb:
> > On Wednesday, July 21, 2010 08:37:21 Alon Bar-Lev wrote:
> > > This one can be fixed by:
> > >
> > > make LDCONFIG=true
> >
> > it'd be nice if it was ignored at least when DESTDIR was set since
> > ldconfig in that case is pointless
>
> Actually, I'd like to reduce complexity as much as possible, so
> please, please no non-standard options/variables.
DESTDIR is not non-standard in any way. do some research eh.
> Running ldconfig within 'make install' is absolutely pointless, IMHO.
> In the very most cases you'll run via some build system, which will
> install into some prefix (where the binpkg is created from) - in
> these cases running ldconfig is totally useless (and probably not
> even wanted).
in general you're wrong here (read the ldconfig manual), but specifically to
zlib's usage, the invocation most of the time has no use when the libs are
installed outside of the build system's configure paths. it is conceivable
that the builder would do something exotic like create a cross-ldconfig and
point LDONFIG at it, but i dont see any value in supporting that scenario.
> That leaves only the few case when you *really* want to install
> *directly* into the live system. People doing that should know
> that they'll have to run ldconfig afterwards - on all library
> installs (not just zlib) anyways.
yep
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20100723/16b3c434/attachment.sig>
More information about the Zlib-devel
mailing list