[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: system libraries that need -R/path/
From: |
Albert Chin |
Subject: |
Re: system libraries that need -R/path/ |
Date: |
Tue, 25 Nov 2003 07:17:53 -0600 |
User-agent: |
Mutt/1.4i |
On Tue, Nov 25, 2003 at 12:50:38PM +0000, Gary V. Vaughan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Harlan Stenn wrote:
> | Does somebody have an autoconf macro to handle adding -R/path/ stuff when
> | libraries are found?
> |
> | It would be nice if it also had the ability to handle cross compiling.
> |
> | This came up for ntp - if the shared library of libcrypto is found the
> | -L flag is set, but no -R flag is set.
> |
> | I suspect other folks have had to deal with this...
>
> AC_LIBTOOL_PROG_LD_SHLIBS sets hardcode_libdir_flag_spec,
> hardcode_libdir_flag_spec_ld and hardcode_libdir_separator. Currently this
> macro isn't designed to run outside AC_PROG_LIBTOOL and has some implicit
> dependencies on other macros in libtool.m4 that we haven't analysed yet.
> With
> a little cleanup it shouldn't be difficult to pull it out into a separate
> file, along with the macros it really needs, so that aclocal can do the
> right
> thing.
>
> Patches greatfully accepted.
If libtool was used rather than the compiler *during* ./configure you
wouldn't have to worry about -R. However, you might find this useful:
http://mail.gnu.org/archive/html/autoconf/2002-05/msg00124.html
It was mentioned recently on this list.
--
albert chin (address@hidden)
- system libraries that need -R/path/, Harlan Stenn, 2003/11/25
- Re: system libraries that need -R/path/, Bruno Haible, 2003/11/25
- Re: system libraries that need -R/path/, Harlan Stenn, 2003/11/25
- Re: system libraries that need -R/path/, Akim Demaille, 2003/11/26
- Re: system libraries that need -R/path/, Albert Chin, 2003/11/26
- Re: system libraries that need -R/path/, Akim Demaille, 2003/11/27
- Re: system libraries that need -R/path/, Gary V. Vaughan, 2003/11/27
- Re: system libraries that need -R/path/, Harlan Stenn, 2003/11/28
- Re: system libraries that need -R/path/, Gary V. Vaughan, 2003/11/28
- Re: system libraries that need -R/path/, Albert Chin, 2003/11/28