From 81ab28e5886c33839546eeda5bc85865d617ad93 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 22 Sep 2021 13:12:07 -0300 Subject: [PATCH] python:meson: Do not build plugin when statically built It is not supported yet Part-of: --- subprojects/gst-python/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-python/meson.build b/subprojects/gst-python/meson.build index f6e2491782..7ae77b14ca 100644 --- a/subprojects/gst-python/meson.build +++ b/subprojects/gst-python/meson.build @@ -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