[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of libtool for linking executables - rpath problem
From: |
Bruno Haible |
Subject: |
Re: use of libtool for linking executables - rpath problem |
Date: |
Tue, 11 Dec 2001 15:28:30 +0100 (CET) |
Paul Eggert writes:
> By the way, thanks for your analysis. This is a real problem that
> seems to me to be getting worse with time.
The problem is now solved if you take the gettext.m4 and iconv.m4
autoconf macros from
ftp://alpha.gnu.org/gnu/gettext/gettext-0.11-pre3.tar.gz.
You also need to copy the files
config.rpath
m4/lib-ld.m4
m4/lib-link.m4
m4/lib-prefix.m4
The effect of these macros is to change the value of LIBICONV from
"-L/some/prefix/lib -liconv"
to
"/some/prefix/lib/iconv.so -R/some/prefix/lib"
or whatever platform dependent flags are needed to ensure proper
linking. Similarly for the value of LIBINTL that gets substituted in
the Makefiles.
Bruno
- Re: use of libtool for linking executables - rpath problem,
Bruno Haible <=