summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Zheng <kevinz5000@gmail.com>2013-10-14 21:49:54 -0500
committerMichael Giacomelli <giac2000@hotmail.com>2013-10-18 03:40:01 +0200
commit513914c347a4e59bafff5b1cae60e465845c948e (patch)
treeaf48a65ea7b8bf79c4437a9326e476be81cc44c6
parentf5807141b689808b70efd7fa9fc1a3be5b73a35d (diff)
downloadrockbox-513914c347a4e59bafff5b1cae60e465845c948e.tar.gz
rockbox-513914c347a4e59bafff5b1cae60e465845c948e.zip
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>
-rwxr-xr-xtools/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 8491ffdb35..ad702aab60 100755
--- a/tools/configure
+++ b/tools/configure
@@ -289,7 +289,7 @@ simcc () {
289 FreeBSD) 289 FreeBSD)
290 sigaltstack=`check_sigaltstack` 290 sigaltstack=`check_sigaltstack`
291 echo "FreeBSD host detected" 291 echo "FreeBSD host detected"
292 LDOPTS="$LDOPTS -ldl" 292 LDOPTS="$LDOPTS"
293 ;; 293 ;;
294 294
295 Darwin) 295 Darwin)