diff mbox

opengl: require glx

Message ID 1426240033-24673-2-git-send-email-kraxel@redhat.com
State New
Headers show

Commit Message

Gerd Hoffmann March 13, 2015, 9:47 a.m. UTC
hw/display/milkymist-tmu2.c uses glx.  That will be replaced with egl in
the future, with qemu getting more opengl support.  But we are not there
yet, so put it back into configure to fix build failures on machines
without glx (i.e. macos, possibly windows too).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gerd Hoffmann March 13, 2015, 10:31 a.m. UTC | #1
On Fr, 2015-03-13 at 10:47 +0100, Gerd Hoffmann wrote:
> hw/display/milkymist-tmu2.c uses glx.  That will be replaced with egl in
> the future, with qemu getting more opengl support.  But we are not there
> yet, so put it back into configure to fix build failures on machines
> without glx (i.e. macos, possibly windows too).

Oops, scratch that one, old leftover *.patch file.

sorry,
  Gerd
diff mbox

Patch

diff --git a/configure b/configure
index bd55786..ed49990 100755
--- a/configure
+++ b/configure
@@ -3120,7 +3120,7 @@  libs_softmmu="$libs_softmmu $fdt_libs"
 ##########################################
 # opengl probe (for sdl2, milkymist-tmu2)
 if test "$opengl" != "no" ; then
-  opengl_pkgs="egl gl glesv2"
+  opengl_pkgs="glx egl gl glesv2"
   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"