diff --git a/configure.ac b/configure.ac index ab991ee8e740064e9ac557718468835fedfbe347..9d0f6bde4e60fd857ea3613bb6efe79a7a237482 100644 --- a/configure.ac +++ b/configure.ac @@ -2526,7 +2526,7 @@ AC_CHECK_HEADERS(png.h, [ VLC_ADD_PLUGINS([logo]) VLC_ADD_LDFLAGS([svcdsub],[-lpng -lz]) VLC_ADD_LDFLAGS([cvdsub],[-lpng -lz -lm]) - AC_DEFINE(HAVE_LIBPNG, [], [Define if you have the PNG library: libpng])] + AC_DEFINE(HAVE_LIBPNG, [], [Define if you have the PNG library: libpng])], [],[-lz]) ]) LDFLAGS="${LDFLAGS_save}"