Fix underlinking in libOSMesa since commit adefee5 "Always build shared glapi"
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sun, 22 Jan 2012 13:23:26 +0000 (13:23 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Mon, 23 Jan 2012 18:24:39 +0000 (18:24 +0000)
commit4e5a8937d1a1bfb2a3bd067ed01e036728675fc2
tree6749d933aac311ca27cb748639522d9ef790a0b9
parent0fce6d3a77f035753e2deebfc4c6bf2abe561314
Fix underlinking in libOSMesa since commit adefee5 "Always build shared glapi"

Since we now always build shared glapi, this exposes the fact that libOSMesa was
underlinked when glapi was built shared.

Fix this by doing the same thing as drivers/X11/Makefile already does, ensuring
that the library is linked with the shared glapi library.

(I'm not clear why we link with both glapi.a and glapi.so, so this may be all wrong)

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
src/mesa/drivers/osmesa/Makefile