build: don't build shl_gl if GLES is disabled
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 22 Apr 2014 06:36:50 +0000 (08:36 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 22 Apr 2014 06:36:50 +0000 (08:36 +0200)
commite507a14113eab3c2c4c34a977b237f505080bd2a
treeb8608dcfb806413e96bf1a4ea0e7a965fa4eb233
parent3b6fb0f75f50621eff2d6c1dfb5d9a0ce0f9216d
build: don't build shl_gl if GLES is disabled

We required GL headers for shl_gl.h. Even though the linker strips all the
GL dependencies if it's disabled during compilation, we still require it
as build-time dependency. Avoid that by not including shl_gl in any non-GL
builds.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Makefile.am