--- libvorbis-1.3.4/test/Makefile.in.orig 2014-01-22 21:39:49.566896605 +0000
+++ libvorbis-1.3.4/test/Makefile.in 2014-01-22 21:40:04.961760598 +0000
@@ -234,7 +234,7 @@
AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
test_SOURCES = util.c util.h write_read.c write_read.h test.c
-test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@ @VORBIS_LIBS@
+test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@ @VORBIS_LIBS@ -lm
all: all-am
.SUFFIXES:
--- libvorbis-1.3.4/examples/Makefile.in.orig 2014-01-22 11:39:50.000000000 +0000
+++ libvorbis-1.3.4/examples/Makefile.in 2014-01-22 21:39:49.566896605 +0000
@@ -263,9 +263,9 @@
# uncomment to build static executables from the example code
#LDFLAGS = -all-static
decoder_example_SOURCES = decoder_example.c
-decoder_example_LDADD = $(top_builddir)/lib/libvorbis.la
+decoder_example_LDADD = $(top_builddir)/lib/libvorbis.la -logg -lm
encoder_example_SOURCES = encoder_example.c
-encoder_example_LDADD = $(top_builddir)/lib/libvorbisenc.la $(top_builddir)/lib/libvorbis.la
+encoder_example_LDADD = $(top_builddir)/lib/libvorbisenc.la $(top_builddir)/lib/libvorbis.la -logg
chaining_example_SOURCES = chaining_example.c
chaining_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
vorbisfile_example_SOURCES = vorbisfile_example.c