OSDN Git Service

meson: fix wayland-less builds
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 11 Oct 2018 15:00:04 +0000 (16:00 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 14 Nov 2018 18:53:02 +0000 (18:53 +0000)
commitfbe2a549913784fb4c2b3bb2fe73809807d134f8
treeebf554050ceb0617ddc4a9b5f80f2e7a260cff10
parent940d3a4ef8c101a75e439613c5f8c2c402389ca1
meson: fix wayland-less builds

Those empty variables in the !wayland case are useless and running that
meson.build with them breaks the build:

  [287/850] Generating wayland-drm-client-protocol.h with a custom command.
  FAILED: src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h
  client-header ../src/egl/wayland/wayland-drm/wayland-drm.xml src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h
  /bin/sh: client-header: command not found
  ninja: build stopped: subcommand failed.

Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
(cherry picked from commit 4fa2fb35245448f8b5d81fb5b37afec4f343f18a)
meson.build
src/meson.build