diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-05-03 10:07:57 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-05-03 10:32:33 +0200 |
commit | 9a1d70b4edb59f64ee4ede6a7c7bb8771886694e (patch) | |
tree | 371733303f227f7b5d8f4c0073c0f3386c316810 | |
parent | b3367fdef37cbbb425c49ee74467146f209ac1d5 (diff) | |
download | pygobject-9a1d70b4edb59f64ee4ede6a7c7bb8771886694e.tar.gz |
meson: build and install the cairo extension
-rw-r--r-- | gi/meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gi/meson.build b/gi/meson.build index f0731fc0..c59c5a1e 100644 --- a/gi/meson.build +++ b/gi/meson.build @@ -71,9 +71,11 @@ giext = python.extension_module('_gi', sources, c_args: pyext_c_args + main_c_args ) -if pycairo_dep.found() +if pycairo_dep.found() and cairo_dep.found() and cairo_gobject_dep.found() gicairoext = python.extension_module('_gi_cairo', ['pygi-foreign-cairo.c'], - dependencies : [python_dep, glib_dep, gi_dep, ffi_dep, pycairo_dep], + dependencies : [python_dep, glib_dep, gi_dep, ffi_dep, pycairo_dep, cairo_dep, cairo_gobject_dep], + install: true, + subdir : 'gi', c_args: pyext_c_args + main_c_args) endif |