shared-glapi: Install libglapi.so.0.0.0 and .0 links in lib/.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 23 Jul 2012 22:22:06 +0000 (15:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 26 Jul 2012 05:37:24 +0000 (22:37 -0700)
commit16cba717c21f9f6a23d4934c5df898a4b9ce7fd1
treeab4f3f56ccefdb2a2900ef8f4a6616968ba7dacc
parent4f109ca4e8ca2c1f0a60b52fa79dd907777e8bee
shared-glapi: Install libglapi.so.0.0.0 and .0 links in lib/.

We already provided these files on 'make install', but only created a
'libglapi.so' in the top-level lib/ convenience folder.  We used to
create all three, but at some point in the build system churn, it broke.

Various applications (like the ES2 conformance suite) seem to link
against libglapi.so.0, so without these links, setting LD_LIBRARY_PATH
and LIBGL_DRIVERS_PATH can lead to using /usr/lib/libglapi.so.0 with
/home/whatever/libGL.so, which leads to API calls getting routed
incorrectly (i.e. glCompileShader -> _mesa_LinkProgramARB), which leads
to rage problems.

Preserve developer sanity...install links.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mapi/shared-glapi/Makefile.am