[Top][All Lists]

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

Re: automake or libtool question

From: Gary V . Vaughan
Subject: Re: automake or libtool question
Date: Sat, 28 Jul 2001 00:50:11 +0100

On Sunday 22 July 2001 10:29 am, Paul F. Kunz wrote:
>    I'm building a C++ library with gcc 3.0 on a Red Hat Linux 7.1
> system.  Gcc is installed in /usr/local/test.  When I build an
> executable that links to the library, one must also link against
> in /usr/local/test/lib since the version in /usr/lib has
> a different ABI.
>    How do I get the correct path to built into my
> library with the users needing to set LD_LIBRARY_PATH?

You mean *without* setting LD_LIBRARY_PATH?  I think the following would 

  mylib_la_LIBADD = /usr/local/test/lib/
  mylib_la_LDFLAGS = -R /usr/local/test/lib

  ())_. Gary V. Vaughan     gary@(|
  ( '/  Research Scientist       ,_())____
  / )=  GNU Hacker  \'      `&
`(_~)_  Tech' Author   =`---d__/

reply via email to

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