1 diff --git i/meson.build w/meson.build
2 index fc4c4492..0c4b412f 100644
5 @@ -153,7 +153,7 @@ pygobject_version = '3.8.0'
6 pygobject_dep = dependency('pygobject-3.0', version: '>= ' + pygobject_version, required: get_option('python'))
7 have_python = pygobject_dep.found()
9 - python_dep = dependency('python-3.8-embed', version: '>= 3.8')
10 + python_dep = import('python').find_installation().dependency(embed: true)
12 version_array = pygobject_version.split('.')
13 config_h.set('PYGOBJECT_REQUIRED_MAJOR', version_array[0].to_int())