shithub: sox

Download patch

ref: 94eed612d4bb4a1b16dd7ab8bfb4107d9c7e2b08
parent: d64bd96a4e74354132b41ff09815a53e042b2ea4
author: cbagwell <cbagwell>
date: Sat Nov 1 18:11:53 EDT 2008

Adding zlib to link of id3lib to work on strict links.

--- a/configure.ac
+++ b/configure.ac
@@ -429,7 +429,7 @@
 if test "$with_id3tag" != "no"; then
     using_id3tag=yes
     AC_CHECK_HEADER(id3tag.h,
-        [AC_CHECK_LIB(id3tag, id3_file_open, MP3_LIBS="$MP3_LIBS -lid3tag",using_id3tag=no)],
+        [AC_CHECK_LIB(id3tag, id3_file_open, MP3_LIBS="$MP3_LIBS -lid3tag -lz",using_id3tag=no, -lz)],
         using_id3tag=no)
     if test "$with_id3tag" = "yes" -a "$using_id3tag" = "no"; then
         AC_MSG_FAILURE([cannot find id3tag])