From 8471777cd903de937b93cbec5d7d91d89a01e66e Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Sat, 30 Jun 2018 19:54:48 +0300 Subject: [PATCH] ui: do not build-depend or link with libdrm, it is not needed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Opengl support brings up libdrm. But actually nothing uses this library or includes any of its headers. Just remove checking for it from configure. Change-Id: Ief06d762f4fcfdf78b0557eafc9282d23eca7fe0 Signed-off-by: Michael Tokarev Reviewed-by: Philippe Mathieu-Daudé Message-id: 20180630165448.30795-1-mjt@msgid.tls.msk.ru Signed-off-by: Gerd Hoffmann --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index ea553b3f89..0e705d3097 100755 --- a/configure +++ b/configure @@ -3580,7 +3580,7 @@ libs_softmmu="$libs_softmmu $fdt_libs" # opengl probe (for sdl2, gtk, milkymist-tmu2) if test "$opengl" != "no" ; then - opengl_pkgs="epoxy libdrm gbm" + opengl_pkgs="epoxy gbm" if $pkg_config $opengl_pkgs x11; then opengl_cflags="$($pkg_config --cflags $opengl_pkgs) $x11_cflags" opengl_libs="$($pkg_config --libs $opengl_pkgs) $x11_libs" -- 2.34.1