Link dri drivers with mesa or dricore libtool library
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sun, 8 Jul 2012 11:19:24 +0000 (12:19 +0100)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 13 Jul 2012 11:44:03 +0000 (12:44 +0100)
commitdefadf2b1540ae3d44e43132ea24b9bd9e24cf49
tree6f0597faffbb6a310e22391a308fb3cab5a6cb8f
parentcf362d00b961f93c729b74081671cbb3d199e16f
Link dri drivers with mesa or dricore libtool library

Now mesa/drivers/dri is converted to automake, we want to update DRI_LIB_DEPS
so that we link with the libmesa or libdricore libtool library, as appropriate.

However, this is complicated by the fact that gallium/targets is not (yet)
converted, so we can't share the DRI_LIB_DEPS autoconf variable with that anymore.

Add an additional autoconf variable GALLIUM_DRI_LIB_DEPS, which is now used in
gallium/targets/Makefile.dri, to link with the libdircore or libmesa native library.

v2: libdricore$VERSION.a needs to be libdricore$(VERSION).a

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Matt Turner <mattst88@gmail.com>
configs/current.in
configure.ac
src/gallium/targets/Makefile.dri