summaryrefslogtreecommitdiffstats
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-513914c.tar.gz
rockbox-513914c.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 () {
FreeBSD)
sigaltstack=`check_sigaltstack`
echo "FreeBSD host detected"
- LDOPTS="$LDOPTS -ldl"
+ LDOPTS="$LDOPTS"
;;
Darwin)