python:meson: Do not build plugin when statically built

It is not supported yet

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1093>
This commit is contained in:
Thibault Saunier 2021-09-22 13:12:07 -03:00
parent 4c8ebd5d73
commit 81ab28e588

View file

@ -97,7 +97,11 @@ if get_option('default_library') == 'shared'
endif
subdir('gi')
subdir('plugin')
if get_option('default_library') != 'static'
subdir('plugin')
else
warning('Python plugin not supported with `static` builds yet.')
endif
if not get_option('tests').disabled()
subdir('testsuite')
endif