[cairo-commit] meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Nov 12 15:34:50 UTC 2020


 meson.build |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ab7b45feb701032c73ef0c190d963ee3ff76a815
Author: Nirbheek Chauhan <nirbheek at centricular.com>
Date:   Tue Nov 10 16:18:50 2020 +0530

    meson: Fix libpng fallback dependency variable
    
    The libpng subproject dependency variable name was wrong. It's
    libpng_dep:
    
    https://github.com/mesonbuild/libpng/blob/1.6.37/meson.build#L110

diff --git a/meson.build b/meson.build
index 111edd099..b159b4071 100644
--- a/meson.build
+++ b/meson.build
@@ -154,7 +154,7 @@ endif
 
 png_dep = dependency('libpng',
   required: get_option('png'),
-  fallback: ['libpng', 'png_dep']
+  fallback: ['libpng', 'libpng_dep']
 )
 if png_dep.found()
   feature_conf.set('CAIRO_HAS_SVG_SURFACE', 1)


More information about the cairo-commit mailing list