[Mesa-dev] [PATCH] mesa-demos: xeglthreads needs to add "-lX11 -lpthread" itself

Andreas Boll andreas.boll.dev at gmail.com
Sun Dec 6 05:29:20 PST 2015


Is this still an issue?
Could you give us the build log of a verbose build?

Thanks,
Andreas

2015-08-21 10:37 GMT+02:00 Stefan Dirsch <sndirsch at suse.de>:
> 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)
> ---------------------------------------------------------------
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list