mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
meson: Generate the wayland pc file when needed
This commit is contained in:
parent
e80b474a14
commit
8e40fb0e39
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue