mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-21 16:50:38 +01:00
[test/Makefile.am] Document why svg2png and pdf2png use LDADD
This is to make librsvg and poppler to use the compiled cairo instead of whatever is on the system, such that the test suite does not depend on a good version of cairo being installed already.
This commit is contained in:
parent
8133530ae5
commit
2335a23a16
1 changed files with 4 additions and 2 deletions
|
|
@ -421,13 +421,15 @@ SUPPORT_PROGS += imagediff png-flatten
|
|||
if CAIRO_CAN_TEST_PDF_SURFACE
|
||||
SUPPORT_PROGS += pdf2png
|
||||
pdf2png_CFLAGS = $(POPPLER_CFLAGS)
|
||||
pdf2png_LDADD = $(LDADD) $(POPPLER_LIBS)
|
||||
# add LDADD, so poppler uses "our" cairo
|
||||
pdf2png_LDADD = $(LDADD) $(POPPLER_LIBS)
|
||||
endif
|
||||
|
||||
if CAIRO_CAN_TEST_SVG_SURFACE
|
||||
SUPPORT_PROGS += svg2png
|
||||
svg2png_CFLAGS = $(LIBRSVG_CFLAGS)
|
||||
svg2png_LDADD = $(LDADD) $(LIBRSVG_LIBS)
|
||||
# add LDADD, so librsvg uses "our" cairo
|
||||
svg2png_LDADD = $(LDADD) $(LIBRSVG_LIBS)
|
||||
endif
|
||||
|
||||
EXTRA_PROGRAMS = $(TESTS) $(SUPPORT_PROGS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue