diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2008-07-19 13:56:52 +0000 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2008-07-19 13:56:52 +0000 |
commit | 08798024fd093d15a1e1f7f22bc14adf263275d3 (patch) | |
tree | f209026533844fdc5beba70c3950219b31dfa9e3 /packages/alsa/alsa-lib | |
parent | a967e9db239d0fdcdb13f24e88d6faa98a1eee68 (diff) |
alsa-lib: fix avr32 builds and libmath detection
* fix bug 4364 provided Geoffrey Wossum
* add fix_libmath.patch to correct detection either -lm is needed or not
* bump PR
Diffstat (limited to 'packages/alsa/alsa-lib')
-rw-r--r-- | packages/alsa/alsa-lib/fix_libmath.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/alsa/alsa-lib/fix_libmath.patch b/packages/alsa/alsa-lib/fix_libmath.patch new file mode 100644 index 0000000000..23309ce381 --- /dev/null +++ b/packages/alsa/alsa-lib/fix_libmath.patch @@ -0,0 +1,17 @@ +Index: alsa-lib-1.0.15/configure.in +=================================================================== +--- alsa-lib-1.0.15.orig/configure.in 2007-10-15 10:45:26.000000000 +0200 ++++ alsa-lib-1.0.15/configure.in 2008-07-19 15:51:34.177119589 +0200 +@@ -191,9 +191,9 @@ + AC_MSG_RESULT(no) + fi + +-ALSA_DEPLIBS="" +-if test "$softfloat" != "yes"; then +- ALSA_DEPLIBS="-lm" ++ALSA_DEPLIBS="-lm" ++if test "$softfloat" = "yes"; then ++ AC_CHECK_LIB([m], [floor], , [ALSA_DEPLIBS=""]) + fi + + dnl Check for libdl |