osmesa: mklib requires arguments before objects
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Mon, 24 Jan 2011 04:22:47 +0000 (20:22 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 24 Jan 2011 14:53:24 +0000 (07:53 -0700)
commit7d6abd254a46e37a27401c3ae0ce0645d8b0decd
treebc07e6b5a231373668777bee363046557db220e4
parentbe0665b461c776e2c4444330a865134e53f3d121
osmesa: mklib requires arguments before objects

Fixes the build when selecting driver=osmesa and building static libraries.
Otherwise, mklib tries to add the â€˜-ltalloc’ object to the archive, which
obviously fails.

Clients which statically link to osmesa will need to link to libtalloc also,
as specified in the Libs.private of osmesa.pc.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33360
NOTE: This is a candidate for the 7.10 branch.

Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/osmesa/Makefile