Add vorbis dependencies when building examples.

The decoder_example program calls floor() which requires
its own -lm on the link line to resolve the local reference.

It seems on most platforms this was shadowed by the transitive
dependency in the vorbis libraries, but it results in unddefine
reference error on e.g. debian mipsel.
parent eb40ca5f
Pipeline #2039 passed with stage
in 1 minute and 52 seconds
...@@ -13,19 +13,19 @@ AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@ ...@@ -13,19 +13,19 @@ AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@
#LDFLAGS = -all-static #LDFLAGS = -all-static
decoder_example_SOURCES = decoder_example.c decoder_example_SOURCES = decoder_example.c
decoder_example_LDADD = $(top_builddir)/lib/ @OGG_LIBS@ decoder_example_LDADD = $(top_builddir)/lib/ @VORBIS_LIBS@ @OGG_LIBS@
encoder_example_SOURCES = encoder_example.c encoder_example_SOURCES = encoder_example.c
encoder_example_LDADD = $(top_builddir)/lib/ $(top_builddir)/lib/ @OGG_LIBS@ encoder_example_LDADD = $(top_builddir)/lib/ $(top_builddir)/lib/ @VORBIS_LIBS@ @OGG_LIBS@
chaining_example_SOURCES = chaining_example.c chaining_example_SOURCES = chaining_example.c
chaining_example_LDADD = $(top_builddir)/lib/ $(top_builddir)/lib/ @OGG_LIBS@ chaining_example_LDADD = $(top_builddir)/lib/ $(top_builddir)/lib/ @VORBIS_LIBS@ @OGG_LIBS@
vorbisfile_example_SOURCES = vorbisfile_example.c vorbisfile_example_SOURCES = vorbisfile_example.c
vorbisfile_example_LDADD = $(top_builddir)/lib/ $(top_builddir)/lib/ @OGG_LIBS@ vorbisfile_example_LDADD = $(top_builddir)/lib/ $(top_builddir)/lib/ @VORBIS_LIBS@ @OGG_LIBS@
seeking_example_SOURCES = seeking_example.c seeking_example_SOURCES = seeking_example.c
seeking_example_LDADD = $(top_builddir)/lib/ $(top_builddir)/lib/ @OGG_LIBS@ seeking_example_LDADD = $(top_builddir)/lib/ $(top_builddir)/lib/ @VORBIS_LIBS@ @OGG_LIBS@
debug: debug:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment