configure.ac: Use LIBS rather than LDFLAGS to add -ldl to dladdr check
authorJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 8 Aug 2014 19:13:18 +0000 (20:13 +0100)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Sat, 9 Aug 2014 10:18:31 +0000 (11:18 +0100)
commita2e1dc0cce3f5c4b94123a5fd4de42ecc988ab14
treedbb3e0a44556224cecf637c60c5757d6ddfba3a8
parent7b4b60b7e501964b689abbd31c77537ff798e6bd
configure.ac: Use LIBS rather than LDFLAGS to add -ldl to dladdr check

ec8ebff "Check for dladdr()" erroneously uses LDFLAGS rather than LIBS to add
-ldl to the dladdr check.

Replace the workaround in 39a4cc4 of explicitly checking in libdl, with a more
correct approach of using LIBS.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
configure.ac