endforeach
presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets')
+
+pkgconfig = import('pkgconfig')
+plugins_pkgconfig_install_dir = join_paths(plugins_install_dir, 'pkgconfig')
+if get_option('default_library') == 'shared'
+ # If we don't build static plugins there is no need to generate pc files
+ plugins_pkgconfig_install_dir = disabler()
+endif
+
subdir('gst')
subdir('ext')
subdir('tests')