[cairo] Building pdiff fails for builddir != srcdir
Behdad Esfahbod
behdad at behdad.org
Sun Mar 4 13:36:50 PST 2007
On Sun, 2007-03-04 at 06:13 -0500, Mathias Hasselmann wrote:
>
> Building pdiff fails for builddir != srcdir. Fix is trivial:
>
> diff --git a/test/pdiff/Makefile.am b/test/pdiff/Makefile.am
> index 0a53ce0..89856b8 100644
> --- a/test/pdiff/Makefile.am
> +++ b/test/pdiff/Makefile.am
> @@ -12,5 +12,5 @@ perceptualdiff_SOURCES = \
> args.h \
> perceptualdiff.c
>
> -INCLUDES = -I$(top_srcdir)/src $(CAIRO_CFLAGS)
> +INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src $(CAIRO_CFLAGS)
> LDADD = libpdiff.la $(top_builddir)/src/libcairo.la
Ok, this is a bit "make" dependent, but makes sense. I'll commit.
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the cairo
mailing list