Patch for Trac #1974; make sure unit tests pull in -lm during link
authorMonty <xiphmont@xiph.org>
Thu, 19 Sep 2013 15:47:38 +0000 (15:47 +0000)
committerMonty <xiphmont@xiph.org>
Thu, 19 Sep 2013 15:47:38 +0000 (15:47 +0000)
svn path=/trunk/vorbis/; revision=19002

test/Makefile.am

index 5f7e32a..f0dc85a 100644 (file)
@@ -10,7 +10,7 @@ check: $(check_PROGRAMS)
        ./test$(EXEEXT)
 
 test_SOURCES = util.c util.h write_read.c write_read.h test.c
-test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@
+test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@ @VORBIS_LIBS@
 
 debug:
        $(MAKE) all CFLAGS="@DEBUG@"