Partially revert bba9c28 "configure: use LIB_EXT rather than hardcoded .so"
authorJon TURNEY <jon.turney@dronecode.org.uk>
Wed, 9 Apr 2014 20:07:06 +0000 (21:07 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Apr 2014 21:12:36 +0000 (22:12 +0100)
commit92d0786f881a0b65ade503c85401a074350af27a
tree41a6546320aaf3c530ea2a87039bc33fbc1ee9b7
parent56f531657cde93494de37d7dd6d47cc3d22022b3
Partially revert bba9c28 "configure: use LIB_EXT rather than hardcoded .so"

Filenames passed to dlopen() don't need to use the platform's default extension
for shared libraries.

Using the '.so' extension when dlopen()ing DRI drivers is hardcoded into mesa
and the X server, so it should be hardcoded here in the Makefile as well.

A similar fix is probably also needed for gallium DRI drivers.

(Consider that if we were starting from scratch, perhaps we would use a custom
extension like .dri instead)

Cc: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/drivers/dri/Makefile.am