On Tue, 9 Jun 2009, Peter Johansson wrote:


LDADD = $(top_srcdir)/yafeq/libyafeq.la

does work. So I hope this is finally the way to do it.


Typically .la files are built and not shipped as source, and thus appearing in buildsrc. If that's the case in your set up, you should probably replace top_srcdir with top_builddir.

It is not necessary to specify top_builddir because that is where the Makefile is written and the directory where the build is performed. As you say, specifying $(top_srcdir) may cause harm since it is likely to break VPATH builds.

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


Reply via email to