From 513914c347a4e59bafff5b1cae60e465845c948e Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Mon, 14 Oct 2013 21:49:54 -0500 Subject: 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 Reviewed-by: Michael Giacomelli --- tools/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/configure b/tools/configure index 8491ffdb35..ad702aab60 100755 --- a/tools/configure +++ b/tools/configure @@ -289,7 +289,7 @@ simcc () { FreeBSD) sigaltstack=`check_sigaltstack` echo "FreeBSD host detected" - LDOPTS="$LDOPTS -ldl" + LDOPTS="$LDOPTS" ;; Darwin) -- cgit v1.2.3