summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2020-10-08 12:56:10 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2020-10-08 12:56:10 +0200
commit2b5b0d951ed997462c5e1d0ec9f70cabe023058a (patch)
treea2eb49e442743c8def0eeffcf386e3837fc26e26
parent6396ebf8e0aba4942792af7ae64dcd459e9729a7 (diff)
macOS: Fix plugin link with Python 3.8
see: https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/28 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/42>
-rw-r--r--meson.build7
1 files changed, 1 insertions, 6 deletions
diff --git a/meson.build b/meson.build
index 9af4ee9..9ac41ec 100644
--- a/meson.build
+++ b/meson.build
@@ -29,12 +29,7 @@ if pythonver.version_compare('<3.0')
error('Python2 is not supported anymore, please port your code to python3 (@0@ specified)'.format(python.language_version()))
endif
-# Workaround for https://github.com/mesonbuild/meson/issues/5629
-# https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28
-python_dep = dependency('python-@0@-embed'.format(pythonver), version: '>=3', required: false)
-if not python_dep.found()
- python_dep = python.dependency(required : true)
-endif
+python_dep = python.dependency(embed:true, required : true)
python_abi_flags = python.get_variable('ABIFLAGS', '')
pylib_loc = get_option('libpython-dir')