meson: pkg-config is required at build time

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

View file

@ -416,7 +416,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