compile the libfaad test with -lm
authorRafaël Carré <funman@videolan.org>
Mon, 15 Oct 2007 21:39:50 +0000 (21:39 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 15 Oct 2007 21:39:50 +0000 (21:39 +0000)
configure.ac

index 35b74a9..a3ea21a 100644 (file)
@@ -3221,7 +3221,7 @@ then
       AC_CHECK_LIB(faad, NeAACDecOpen, [
         VLC_ADD_PLUGINS([faad])
         VLC_ADD_LIBS([faad],[-lfaad]) ],
-        [ AC_MSG_ERROR([Cannot find libfaad library...]) ]))
+        [ AC_MSG_ERROR([Cannot find libfaad library...]) ],[-lm]))
     LDFLAGS="${LDFLAGS_save}"
     CPPFLAGS="${CPPFLAGS_save}"
   fi