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

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

 



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

_______________________________________________
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