build: Link gfxprim libs with third party libs
commitdbe87667ad5796a4294f74f54ad1abf5dd8c90e8
authorCyril Hrubis <metan@ucw.cz>
Fri, 6 Jun 2014 14:27:57 +0000 (6 16:27 +0200)
committerCyril Hrubis <metan@ucw.cz>
Fri, 6 Jun 2014 14:47:16 +0000 (6 16:47 +0200)
treebc5782aa90efa9aa98c45ee94d8b87aca234b7ba
parent425038462f7fe79ed853487a0ce66ecd927d1c8f
build: Link gfxprim libs with third party libs

Pass LDLIBS for third party libraries to linker when gfxprim-foo
libraries are created.

This allows us to link binaries only agains the gfxprim-foo libs
(because the third party libs are loaded as dependencies of the
particual gfxprim-foo library) and we don't have to recompile them
when list of libraries GFXprim is linked agains changes.

This commit resolves #6

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
15 files changed:
app.mk
build/Makefile
config.mk
configure
demos/bogoman/Makefile
demos/c_simple/Makefile
demos/grinder/Makefile
demos/particle/Makefile
demos/spiv/Makefile
demos/ttf2img/Makefile
lib.mk
pylib/gfxprim/backends/Makefile
pylib/gfxprim/grabbers/Makefile
pylib/gfxprim/loaders/Makefile
pywrap.mk