diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-24 20:58:07 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-24 20:58:07 +0000 |
| commit | 033634fc5c0fa6f5a01fafe6235d8491e9a78f24 (patch) | |
| tree | 4323449123138fb4af654ddae45a15f064368faf | |
| parent | 83d6ceb3043c1b8694765863c0d458d800ea6dbe (diff) | |
| download | rockbox-033634fc5c0fa6f5a01fafe6235d8491e9a78f24.zip rockbox-033634fc5c0fa6f5a01fafe6235d8491e9a78f24.tar.gz rockbox-033634fc5c0fa6f5a01fafe6235d8491e9a78f24.tar.bz2 rockbox-033634fc5c0fa6f5a01fafe6235d8491e9a78f24.tar.xz | |
Simulator: explicitely link with libdl and libm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27118 a1c6a512-1295-4272-9138-f99709370657
| -rwxr-xr-x | tools/configure | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/configure b/tools/configure index 277436d..da64ff8 100755 --- a/tools/configure +++ b/tools/configure @@ -118,7 +118,7 @@ simcc () { winbuild="$crosscompile" GCCOPTS='-W -Wall -g -fno-builtin' GCCOPTIMIZE='' - LDOPTS='' + LDOPTS='-lm' # button-sdl.c uses sqrt() # default output binary name output="rockboxui" @@ -130,7 +130,7 @@ simcc () { CYGWIN*) echo "Cygwin host detected" - LDOPTS="-mconsole" + LDOPTS="$LDOPTS -mconsole" output="rockboxui.exe" winbuild="yes" ;; @@ -138,21 +138,24 @@ simcc () { MINGW*) echo "MinGW host detected" - LDOPTS="-mconsole" + LDOPTS="$LDOPTS -mconsole" output="rockboxui.exe" winbuild="yes" ;; Linux) echo "Linux host detected" + LDOPTS="$LDOPTS -ldl" ;; FreeBSD) echo "FreeBSD host detected" + LDOPTS="$LDOPTS -ldl" ;; Darwin) echo "Darwin host detected" + LDOPTS="$LDOPTS -ldl" SHARED_FLAG="-dynamiclib -Wl\,-single_module" ;; @@ -161,7 +164,7 @@ simcc () { echo "*Solaris host detected" GCCOPTS="$GCCOPTS -fPIC" - LDOPTS="-lm" + LDOPTS="$LDOPTS -ldl" ;; *) |