autoconf
[Top][All Lists]
Advanced

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

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


From: Ralf Wildenhues
Subject: Re: checking for header/library mismatch, rpath problem?
Date: Sat, 26 Jun 2010 21:25:17 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hello Adam,

* Adam Mercer wrote on Tue, Jun 22, 2010 at 09:15:35PM CEST:
> On Wed, Jun 16, 2010 at 12:19, Ralf Wildenhues wrote:
> 
> >> Is there a way the appropriate platform-specific options can be added
> >> automatically?
> >
> > You can use the gnulib module havelib and the macros it provides.
> 
> I've been looking at these macros and they don't seem to be setting
> the platform specific link flags, from the documentation:

Please ask about this on the gnulib list, I'm not sure if the macros are
supposed to do this for you or not.  Thanks.

Another possibility is to always use libtool for linking; it will add
appropriate run paths to installed .la libraries if need be.

> "The macros also set a variable LTLIB<NAME>, that should be used when
> linking with libtool. Both LTLIB<NAME> and LIB<NAME> contain
> essentially the same option, but where LIB<NAME> contains platform
> dependent flags like ‘-Wl,-rpath’, LTLIB<NAME> contains platform
> independent flags like ‘-R’."

Cheers,
Ralf



reply via email to

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