meson: pkg-config is required at build time

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1431>
This commit is contained in:
Nirbheek Chauhan 2024-01-26 23:02:57 +05:30 committed by GStreamer Marge Bot
parent 8b5a398135
commit 6b79ce605d

View file

@ -417,7 +417,7 @@ if get_option('doc').disabled()
endif endif
# 'pkgconfig' is the entry in the machine file, if specified # '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() if pkg_config.found()
extra_env += {'PKG_CONFIG': pkg_config.full_path()} extra_env += {'PKG_CONFIG': pkg_config.full_path()}
endif endif