]> git.cworth.org Git - glaze/commit
Remove dependency of libglaze on libelf
authorCarl Worth <cworth@cworth.org>
Thu, 29 Aug 2013 22:25:09 +0000 (15:25 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 29 Aug 2013 22:28:16 +0000 (15:28 -0700)
commitf427658599546afd1fa19c31f25001ada8c0667d
treeb149dad718e81ea7393d1e4648d8aefdca7e85d1
parentfded9f20d5f5c92bd5af051117327816dda0238e
Remove dependency of libglaze on libelf

The dependency is onerous since it requires the user of Glaze to have
both a 32-bit and 64-bit development version of libelf available, (and
also have a toolchain ready to find either one as appropriate).

Meanwhile, the only thing we were doing with libelf was determining
whether the current library targets a 32-bit or a 64-bit
architecture. But we are compiling this code twice, once for each
architecture. So it is actually quite simple to just conditionally
compile in the value we want.
Makefile
glaze-gl.c