meson: libdrm shouldn't appear in Requires.private: if it wasn't found
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 25 Jan 2018 18:53:08 +0000 (18:53 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Sat, 27 Jan 2018 18:13:18 +0000 (18:13 +0000)
commit4a0bab1d7f942ad0ac9b98ab34e6a9e4694f3c04
tree0c8cc782ea4d802f3c77077580a014061f335d90
parente5a81ac70431502bc592c05e4ae639c0504ec816
meson: libdrm shouldn't appear in Requires.private: if it wasn't found

Otherwise, using pkg-config to retrieve flags will fail, e.g.

$ pkg-config gl --cflags
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdrm', required by 'gl', not found

Fixes: 3218056e0eb3 ("meson: Build i965 and dri stack")
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
meson.build
src/mesa/drivers/dri/meson.build