[Mesa-dev] [PATCH] mesa-demos: xeglthreads needs to add "-lX11 -lpthread" itself
Stefan Dirsch
sndirsch at suse.de
Fri Aug 21 01:37:20 PDT 2015
Hi
This is just a simple buildfix for current mesa-demos git master branch.
Thanks,
Stefan
Author: Stefan Dirsch <sndirsch at suse.de>
Subject: xeglthreads needs to add "-lX11 -lpthread" itself
Signed-off-by: Stefan Dirsch <sndirsch at 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 = \
Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.) SUSE LINUX GmbH
Tel: 0911-740 53 0 Maxfeldstraße 5
FAX: 0911-740 53 479 D-90409 Nürnberg
http://www.suse.de Germany
---------------------------------------------------------------
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham
Norton, HRB 21284 (AG Nürnberg)
---------------------------------------------------------------
More information about the mesa-dev
mailing list