diff --git a/subprojects/gst-python/testsuite/meson.build b/subprojects/gst-python/testsuite/meson.build index b4c58fd809..321290a38b 100644 --- a/subprojects/gst-python/testsuite/meson.build +++ b/subprojects/gst-python/testsuite/meson.build @@ -7,14 +7,6 @@ tests = [ ['Test analytics', 'test_analytics.py'], ] -pluginsdirs = [] -if not meson.is_subproject() - pkgconfig = find_program('pkg-config') - runcmd = run_command(pkgconfig, '--variable=pluginsdir', - 'gstreamer-' + api_version, check: true) - pluginsdirs = runcmd.stdout().split() -endif - runcmd = run_command(python, '-c', '''with open("@0@/mesonconfig.py", "w") as f: f.write("path='@1@'")'''.format( join_paths(meson.current_build_dir()), join_paths(meson.current_build_dir(), '..')),