From 8e40fb0e39e476ad980ed0dbe2a4e074b5472e99 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 5 Jan 2017 12:31:14 -0300 Subject: [PATCH] meson: Generate the wayland pc file when needed --- pkgconfig/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build index b16d01e407..41539f8b81 100644 --- a/pkgconfig/meson.build +++ b/pkgconfig/meson.build @@ -40,6 +40,11 @@ if build_gstgl pkg_libs += 'gl' endif +if use_wayland + pkgconf.set('waylandlibdir', join_paths(meson.build_root(), gstwayland.outdir())) + pkg_libs += 'wayland' +endif + foreach p : pkg_libs infile = 'gstreamer-@0@.pc.in'.format(p) outfile = 'gstreamer-@0@-@1@.pc'.format(p, api_version)