shithub: sox

Download patch

ref: 515acca506a03ca44da889aff6d3d3c29511b198
parent: 5b71e252bc41d2fdf35c549f54c3359bd8770dcb
author: robs <robs>
date: Fri Oct 17 15:48:00 EDT 2008

fix build

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -289,6 +289,9 @@
   libsfx_la_CFLAGS += $(LTDLINCL) 
   libsox_la_LDFLAGS += $(LIBLTDL) 
   libsfx_la_LDFLAGS += $(LIBLTDL) 
+if HAVE_MAGIC
+  libsox_la_LIBADD = @MAGIC_LIBS@
+endif
 else
   libsox_la_SOURCES += raw-fmt.c s1-fmt.c s2-fmt.c s3-fmt.c \
     s4-fmt.c u1-fmt.c u2-fmt.c u3-fmt.c u4-fmt.c al-fmt.c la-fmt.c ul-fmt.c \