[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: system libraries that need -R/path/
From: |
Gary V. Vaughan |
Subject: |
Re: system libraries that need -R/path/ |
Date: |
Tue, 25 Nov 2003 12:50:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3 |
-----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.
Cheers,
Gary.
- --
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://www.oranda.demon.co.uk
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE/w1AeFRMICSmD1gYRAtabAJ41unWsXHieKFQ/Z7IwlR4mcKaMMQCgv898
9TnN/I+lC8yRP3GUOrXs+aM=
=GTfT
-----END PGP SIGNATURE-----
- Re: system libraries that need -R/path/,
Gary V. Vaughan <=