mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-12 17:25:36 +00:00
meson: Don't link to python for the gi overrides module
We only need to link to python directly for the plugin: https://github.com/mesonbuild/meson/issues/7712#issuecomment-689357908 https://github.com/Homebrew/homebrew-core/pull/165176#issuecomment-2051835257 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6642>
This commit is contained in:
parent
6d13bb31e9
commit
974208538f
2 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,8 @@ 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
|
||||
|
||||
python_dep = python.dependency(embed:true, required : true)
|
||||
python_embed_dep = python.dependency(embed: true, required: true)
|
||||
python_dep = python.dependency(embed: false, required: true)
|
||||
|
||||
python_abi_flags = python.get_variable('ABIFLAGS', '')
|
||||
pylib_loc = get_option('libpython-dir')
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
gstpython = library('gstpython',
|
||||
['gstpythonplugin.c'],
|
||||
include_directories : [configinc],
|
||||
dependencies : [gst_dep, pygobject_dep, gstbase_dep, python_dep, gmodule_dep] ,
|
||||
dependencies : [gst_dep, pygobject_dep, gstbase_dep, python_embed_dep, gmodule_dep],
|
||||
install : true,
|
||||
install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue