[vlc-commits] Configure: add -lm to png

Jean-Baptiste Kempf git at videolan.org
Tue Jul 5 23:51:01 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jul  5 23:48:17 2011 +0200| [620fce81cb18e2f36464a08d1464398dd45070ac] | committer: Jean-Baptiste Kempf

Configure: add -lm to png

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=620fce81cb18e2f36464a08d1464398dd45070ac
---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 831f94f..ccc77f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2956,7 +2956,7 @@ if test "${enable_png}" != "no"; then
 AC_CHECK_HEADERS(png.h, [
   LDFLAGS="${LDFLAGS_save} -lz"
   AC_CHECK_LIB(png, png_set_rows, [
-    VLC_ADD_LIBS([png],[-lpng -lz])
+    VLC_ADD_LIBS([png],[-lpng -lz -lm])
     VLC_ADD_PLUGIN([png osdmenu osd_parser])],
     [],[-lz])
     LDFLAGS="${LDFLAGS_save}"



More information about the vlc-commits mailing list