FFmpeg-Builds/patches/zvbi/0002-fix-static-linking.patch
BtbN 69c3786546 Add libzvbi
Patches and build-mess based on VLC contrib:
https://github.com/videolan/vlc/tree/master/contrib/src/zvbi
2021-08-23 02:44:47 +02:00

11 lines
413 B
Diff

--- 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