Commit 64f5385a authored by Konstantin Pavlov's avatar Konstantin Pavlov

contrib: zvbi: fixed linking with static libpng.

parent d2186994
......@@ -17,6 +17,7 @@ zvbi: zvbi-$(ZVBI_VERSION).tar.bz2 .sum-zvbi
$(UNPACK)
$(APPLY) $(SRC)/zvbi/zvbi-ssize_max.patch
$(APPLY) $(SRC)/zvbi/zvbi-ioctl.patch
$(APPLY) $(SRC)/zvbi/zvbi-fix-static-linking.patch
ifdef HAVE_WIN32
$(APPLY) $(SRC)/zvbi/zvbi-win32.patch
endif
......
--- zvbi/configure.in 2013-08-28 13:52:48.000000000 +0000
+++ zvbi.patched/configure.in 2016-11-02 21:25:34.292580446 +0000
@@ -244,7 +244,7 @@
dnl
HAVE_PNG="yes"
AC_CHECK_LIB(png, png_destroy_write_struct,
- LIBS="$LIBS -lpng -lz", HAVE_PNG="no", -lz -lm)
+ LIBS="-lpng -lz $LIBS", HAVE_PNG="no", -lz -lm)
if test "x$HAVE_PNG" = xyes; then
AC_DEFINE(HAVE_LIBPNG, 1, [Define if you have libpng])
fi
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