[Mesa-dev] [PATCH] configure: disable shared glapi when building xlib powered glx

Brian Paul brianp at vmware.com
Mon Mar 3 18:01:21 PST 2014


On 02/27/2014 11:17 AM, Brian Paul wrote:
> On Thu, Feb 27, 2014 at 11:03 AM, Emil Velikov <emil.l.velikov at gmail.com
> <mailto:emil.l.velikov at gmail.com>> wrote:
>
>     With commit 0432aa064b(configure: use shared-glapi when more than one
>     gl* API is used) we removed "disable shared-glapi when building without
>     dri" hunk.
>
>     In the good old days of classic mesa, dri and xlib-glx were mutually
>     exclusive thus the hunk made sense.
>
>     Currently enable-dri is used as a synonym for a range of things thus
>     it's more appropriate to handle xlib-glx explicitly.
>
>     Fixes a missing symbol '_glapi_Dispatch' in a xlib powered libGL,
>     build using the following
>
>       ./autogen.sh --enable-xlib-glx --disable-dri
>     --with-gallium-drivers=swrast
>
>     Cc: Brian Paul <brianp at vmware.com <mailto:brianp at vmware.com>>
>     Reported-by: Brian Paul <brianp at vmware.com <mailto:brianp at vmware.com>>
>     Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com
>     <mailto:emil.l.velikov at gmail.com>>
>     ---
>
>     Hi Brian,
>
>     Can you give this patch a try, it fixes the problem on my system.
>
>
> Works for me here.  Thanks!

Do you want to commit this, Emil?

-Brian




More information about the mesa-dev mailing list