On Tue, 9 Jun 2009, aaragon wrote:

AM_LDFLAGS = -L$(top_srcdir)/yafeq -lyafeq

and this works fine. Is this the right way to do this?

Any in-tree library dependencies should be specified via LIBADD rather than LDFLAGS. Using LDFLAGS is a common mistake which results in problems, such as the wrong library being used. See the documentation.

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


Reply via email to