[PATCH] Add --print-dirs option for ldconfig

Ulrich Drepper drepper@redhat.com
Fri Dec 19 17:55:00 GMT 2008


-----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-----



More information about the Libc-alpha mailing list