libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] add /etc/ld.so.conf contents to sys_lib_dlsearch_path_spec


From: Alexandre Oliva
Subject: Re: [PATCH] add /etc/ld.so.conf contents to sys_lib_dlsearch_path_spec
Date: 09 Apr 2004 06:23:46 -0300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

On Nov  9, 2003, Scott James Remnant <address@hidden> wrote:

> +  # Append ld.so.conf contents to the search path
> +  if test -f /etc/ld.so.conf; then
> +    ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' 
> /etc/ld.so.conf`
> +    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
> +  fi

We shouldn't do this if cross compiling, should we?

> +* Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux.

It's GNU/Linux :-)

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   address@hidden, gcc.gnu.org}
Free Software Evangelist  address@hidden, gnu.org}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]