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:
parent
f5807141b6
commit
513914c347
1 changed files with 1 additions and 1 deletions
2
tools/configure
vendored
2
tools/configure
vendored
|
@ -289,7 +289,7 @@ simcc () {
|
|||
FreeBSD)
|
||||
sigaltstack=`check_sigaltstack`
|
||||
echo "FreeBSD host detected"
|
||||
LDOPTS="$LDOPTS -ldl"
|
||||
LDOPTS="$LDOPTS"
|
||||
;;
|
||||
|
||||
Darwin)
|
||||
|
|
Loading…
Reference in a new issue