automake
[Top][All Lists]
Advanced

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

Re: .la files from outside the current project


From: Tom Tromey
Subject: Re: .la files from outside the current project
Date: 14 Apr 2002 17:54:28 -0600

>>>>> "Rob" == Robert Collins <address@hidden> writes:

Rob> foo_SOURCES = src/foo.cc
Rob> foo_LDADD = libbar.la

Rob> into a Makefile.am, the foo_DEPENDENCIES target gets libbar.la
Rob> added - even though it's not included in the source. libbar.la is
Rob> present in /usr/lib or /usr/local/lib. How can I avoid the
Rob> auto-setting of foo_DEPENDENCIES ?

Either set _DEPENDENCIES yourself, or use `-lbar'.
The latter is probably preferable.

Tom



reply via email to

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