Do not compile with "-ldl" on FreeBSD.

The dynmaic library support provided in dlfcn.h does not require
additional linker flags on FreeBSD. It is provided with the standard C
library and will fail to link if "-ldl" is specified.

Change-Id: I9f21d8369d45a9be94129a1b37b4607adf673c57
Reviewed-on: http://gerrit.rockbox.org/637
Tested-by: Kevin Zheng <kevinz5000@gmail.com>
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
This commit is contained in:
Kevin Zheng 2013-10-14 21:49:54 -05:00 committed by Michael Giacomelli
parent f5807141b6
commit 513914c347

2
tools/configure vendored
View file

@ -289,7 +289,7 @@ simcc () {
FreeBSD)
sigaltstack=`check_sigaltstack`
echo "FreeBSD host detected"
LDOPTS="$LDOPTS -ldl"
LDOPTS="$LDOPTS"
;;
Darwin)