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

Jon TURNEY jon.turney at dronecode.org.uk
Sun Jan 22 06:09:43 PST 2012


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-underlinking-in-libOSMesa-since-commit-adefee5-A.patch
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120122/2692d552/attachment.txt>


More information about the mesa-dev mailing list