14 lines
585 B
Diff
14 lines
585 B
Diff
diff --git i/meson.build w/meson.build
|
|
index fc4c4492..0c4b412f 100644
|
|
--- i/meson.build
|
|
+++ w/meson.build
|
|
@@ -153,7 +153,7 @@ pygobject_version = '3.8.0'
|
|
pygobject_dep = dependency('pygobject-3.0', version: '>= ' + pygobject_version, required: get_option('python'))
|
|
have_python = pygobject_dep.found()
|
|
if have_python
|
|
- python_dep = dependency('python-3.8-embed', version: '>= 3.8')
|
|
+ python_dep = import('python').find_installation().dependency(embed: true)
|
|
|
|
version_array = pygobject_version.split('.')
|
|
config_h.set('PYGOBJECT_REQUIRED_MAJOR', version_array[0].to_int())
|