libtool
[Top][All Lists]
Advanced

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

Re: problems with LD_LIBRARY_PATH and libtool wrapper


From: Dan McMahill
Subject: Re: problems with LD_LIBRARY_PATH and libtool wrapper
Date: Fri, 05 Sep 2008 07:45:02 -0400
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

Ralf Wildenhues wrote:

and at configure time @LIBMINE_LDADD@ either gets set to ../libmine/libmine.la or something like -L/usr/pkg/lib -lmine.

OK.  First tangential issue: if you use @substitutions@ rather than
Makefile.am conditionals, then automake cannot see through them, and
you have to fix dependencies yourself.  IOW, you have to ensure that
myprog_DEPENDENCIES contains '../libmine/libmine.la' if myprog_LDADD
contains it.  In contrast, automake can figure it out itself with

if LOCAL_LIBMINE
myprog_LDADD = ../libmine/libmine.la
else
myprog_LDADD = ...
endif

This issue isn't your actual problem though.

Thanks.  I've changed to use automake conditionals here like you suggested.


-Dan




reply via email to

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