meson: pkg-config is required at build time

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1456>
This commit is contained in:
Nirbheek Chauhan 2024-01-26 23:02:57 +05:30 committed by Sebastian Dröge
parent e782fd14c2
commit de64699eaa

View file

@ -409,7 +409,7 @@ if get_option('doc').disabled()
endif
# 'pkgconfig' is the entry in the machine file, if specified
pkg_config = find_program('pkgconfig', 'pkg-config', required: false)
pkg_config = find_program('pkgconfig', 'pkg-config')
if pkg_config.found()
extra_env += {'PKG_CONFIG': pkg_config.full_path()}
endif