File u_mesa-demos_missing-libs.diff of Package Mesa-demo

Author: Stefan Dirsch <sndirsch@suse.de>
Subject: xeglthreads needs to add "-lX11 -lpthread" itself
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>

xeglthreads no longer can rely on the toolchain to add the required libs,
it uses directly.

--- src/egl/opengl/Makefile.am.orig	2011-08-29 14:34:02.000000000 +0000
+++ src/egl/opengl/Makefile.am	2011-08-29 14:34:31.000000000 +0000
@@ -32,7 +32,7 @@ AM_CFLAGS = \
 	-I$(top_srcdir)/src/util
 AM_LDFLAGS = \
 	$(DEMO_LIBS) \
-	$(EGL_LIBS)
+	$(EGL_LIBS) -lX11 -lpthread
 
 if HAVE_X11
 EGL_X11_DEMOS = \
openSUSE Build Service is sponsored by