This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add --print-dirs option for ldconfig
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Dan Nicholson <dbn dot lists at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 19 Dec 2008 09:47:56 -0800
- Subject: Re: [PATCH] Add --print-dirs option for ldconfig
- References: <1229706634-8843-1-git-send-email-dbn.lists@gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dan Nicholson wrote:
> Build tools often want to determine whether a directory is part of the
> system linker path or not when deciding to set an RPATH during linking.
> For glibc based systems, this involves guessing the trusted directories
> by platform and then parsing out ld.so.conf.
It makes no sense to base decisions like RPATHs for linking based on
this information since it's dynamic. Thet /etc/ld.so.conf file can
change and files can be transported to machines with different settings.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAklL3kwACgkQ2ijCOnn/RHR+CwCfd0c/yiu2c70O24ThFxrsVtRz
LB0AoMVDVURLPC1EL1chsURdJPYxw8Bn
=ueoH
-----END PGP SIGNATURE-----