Signed-off-by: Gerd Hoffmann <kra...@redhat.com> --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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" -- 2.9.3