summaryrefslogtreecommitdiff
path: root/gi/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'gi/meson.build')
-rw-r--r--gi/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/meson.build b/gi/meson.build
index 4a049479..8edf8328 100644
--- a/gi/meson.build
+++ b/gi/meson.build
@@ -79,7 +79,7 @@ giext = python.extension_module('_gi', sources,
c_args: pyext_c_args + main_c_args
)
-if with_pycairo
+if cairo_dep.found()
gicairoext = python.extension_module('_gi_cairo', ['pygi-foreign-cairo.c'],
dependencies : [python_ext_dep, glib_dep, gi_dep, ffi_dep, pycairo_dep, cairo_dep, cairo_gobject_dep],
install: true,