Commit 620fce81 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Configure: add -lm to png

parent b2447d01
...@@ -2956,7 +2956,7 @@ if test "${enable_png}" != "no"; then ...@@ -2956,7 +2956,7 @@ if test "${enable_png}" != "no"; then
AC_CHECK_HEADERS(png.h, [ AC_CHECK_HEADERS(png.h, [
LDFLAGS="${LDFLAGS_save} -lz" LDFLAGS="${LDFLAGS_save} -lz"
AC_CHECK_LIB(png, png_set_rows, [ 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])], VLC_ADD_PLUGIN([png osdmenu osd_parser])],
[],[-lz]) [],[-lz])
LDFLAGS="${LDFLAGS_save}" LDFLAGS="${LDFLAGS_save}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment