Fix build with wayland-protocols subproject
authorMatthias Clasen <mclasen@redhat.com>
Thu, 10 Feb 2022 18:21:28 +0000 (13:21 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Feb 2022 18:21:28 +0000 (13:21 -0500)
The missing files() was pointed out in #4530.

Fixes: #4530
gdk/wayland/meson.build

index 28a00a959b6d252b1078c7bfd1bf2c1146346209..801d55509a197297ea86a1f795d5e80e7b97689f 100644 (file)
@@ -71,7 +71,7 @@ foreach p: proto_sources
   elif proto_stability == 'staging'
     proto_version = p.get(2)
     output_base = '@0@-@1@'.format(proto_name, proto_version)
-    input = join_paths(wlproto_dir, '@0@/@1@/@2@.xml'.format(proto_stability, proto_name, output_base))
+    input = files(join_paths(wlproto_dir, '@0@/@1@/@2@.xml'.format(proto_stability, proto_name, output_base)))
   elif proto_stability == 'private'
     output_base = proto_name
     input = files('protocol/@0@.xml'.format(proto_name))