diff mbox series

[24/24] build: opengl should not need X11

Message ID 20171117103046.15943-25-kraxel@redhat.com
State New
Headers show
Series RfC: rework display initialization | expand

Commit Message

Gerd Hoffmann Nov. 17, 2017, 10:30 a.m. UTC
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/configure b/configure
index 67a8c2e83a..e344c0d08e 100755
--- a/configure
+++ b/configure
@@ -3685,8 +3685,8 @@  libs_softmmu="$libs_softmmu $fdt_libs"
 if test "$opengl" != "no" ; then
   opengl_pkgs="epoxy libdrm 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"
+    opengl_cflags="$($pkg_config --cflags $opengl_pkgs)"
+    opengl_libs="$($pkg_config --libs $opengl_pkgs)"
     opengl=yes
     if test "$gtk" = "yes" && $pkg_config --exists "$gtkpackage >= 3.16"; then
         gtk_gl="yes"