[Mesa-dev] [PATCH] Always build shared glapi

Matt Turner mattst88 at gmail.com
Sun Jan 22 08:42:04 PST 2012


On Sun, Jan 22, 2012 at 9:09 AM, Jon TURNEY <jon.turney at dronecode.org.uk> wrote:
> On 11/01/2012 23:37, Matt Turner wrote:
>> No one on IRC knows why an unshared glapi is useful.
>
> It looks like this change stops OSMesa from builing on cygwin (See [1])
>
> I think this is because we never tried building it with shared glapi on cygwin
> before, and if we had, we would have noticed that libOSMesa is underlinked,
> which is not permitted for PE/COFF shared libraries.
>
> Patch attached which fixes this by explicitly linking libOSMesa with the
> shared glapi library.
>
> [1] http://tinderbox.freedesktop.org/builds/2012-01-21-0017/logs/libGL/#build

I'd say commit it. We're planning to overhaul the build system, so if
that patch helps now, go for it.


More information about the mesa-dev mailing list