Re: checking for header/library mismatch, rpath problem?

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

 



* Adam Mercer wrote on Sun, Jun 27, 2010 at 03:16:21AM CEST:
> On Sat, Jun 26, 2010 at 14:25, Ralf Wildenhues wrote:
> > Another possibility is to always use libtool for linking; it will add
> > appropriate run paths to installed .la libraries if need be.
> 
> How do you specify to use libtool for linking the tests? As that
> should do the right thing?

Well, first you need to use LT_OUTPUT before any such test, so the
libtool script is created early in configure.  Then, you need to write
all link tests yourself, invoking ./libtool.  Maybe somebody has written
a macro to do that, somewhere (Autoconf Macro Archive?), I'm not aware
of any existing ones, but I think a good one would be acceptable into
libtool.m4.

Hope that helps.

Cheers,
Ralf

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux