ui: do not build-depend or link with libdrm, it is not needed
authorMichael Tokarev <mjt@tls.msk.ru>
Sat, 30 Jun 2018 16:54:48 +0000 (19:54 +0300)
committerMateusz Majewski <m.majewski2@samsung.com>
Tue, 25 Mar 2025 13:52:30 +0000 (14:52 +0100)
Opengl support brings up libdrm. But actually nothing uses this library
or includes any of its headers. Just remove checking for it from configure.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180630165448.30795-1-mjt@msgid.tls.msk.ru
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 4939a1df7d60b4a24458544557ae262852e28567)

Change-Id: I1b3b633202f0f9ecf6500dbbdb547a37b87621c7

configure

index ea553b3f89d187e832050cf64afee56757316a6e..0e705d309745d263085608cc349efc9f66378d92 100755 (executable)
--- 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"