[cairo-commit] util/meson.build
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Oct 5 17:16:45 UTC 2020
util/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e2c1b76d7109150bcce72ae6683c5f8f2739468c
Author: Xavier Claessens <xavier.claessens at collabora.com>
Date: Sat Oct 3 22:39:59 2020 -0400
meson: Fix build when libpng is not found
trace-to-xml.c needs cairo-xml.h which is only available when
CAIRO_HAS_XML_SURFACE feature is built which is only available when both
zlib and png are found. CAIRO_HAS_INTERPRETER only requires zlib.
diff --git a/util/meson.build b/util/meson.build
index d96706c36..016955cea 100644
--- a/util/meson.build
+++ b/util/meson.build
@@ -40,7 +40,7 @@ if gtk_dep.found()
]
endif
-if feature_conf.get('CAIRO_HAS_INTERPRETER', 0) == 1
+if feature_conf.get('CAIRO_HAS_XML_SURFACE', 0) == 1
expat_dep = dependency('expat', fallback: ['expat', 'expat_dep'])
cairo_utils += [
['trace-to-xml.c', {'deps': [expat_dep]}],
More information about the cairo-commit
mailing list