[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking with non-libtool libraries
From: |
Dale E Martin |
Subject: |
Re: Linking with non-libtool libraries |
Date: |
Thu, 19 Feb 2004 15:33:02 -0500 |
User-agent: |
Mutt/1.5.4i |
> I have a fairly large project that consists of a number of executables
> and shared libraries, all built with autoconf/automake/libtool. Most of
> the executables also depend on thirdparty shared libraries that are
> either not built with libtool, or they were, in a separate tree and then
> copied to a thirdparty area.
> My question is the wrapper scripts that libtool generates for executables
> sets up the LD_LIBRARY_PATH properly for all of the libtool libraries
> that I built, but it does not add components to the LD_LIBRARY_PATH for
> these thirdparty libraries. So I wind up having to modify LD_LIBRARY_PATH
> before running these wrapper scripts.
Have you tried adding "libfoo_la_LIBADD=-lone -ltwo" to add these
dependencies to your libraries, and "foo_LDADD=-lone -ltwo" to add them to
your executables?
Take care,
Dale
--
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
address@hidden
http://www.cliftonlabs.com
pgp key available