diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-01-05 12:31:14 -0300 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-01-05 12:31:14 -0300 |
commit | 8e40fb0e39e476ad980ed0dbe2a4e074b5472e99 (patch) | |
tree | ca5a2ac4900e82ef9c63d759952947e162f605a1 /pkgconfig/meson.build | |
parent | e80b474a144fac1bc3e38227dcb336b647d7c5bb (diff) |
meson: Generate the wayland pc file when needed
Diffstat (limited to 'pkgconfig/meson.build')
-rw-r--r-- | pkgconfig/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build index b16d01e40..41539f8b8 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) |