Put the ogg library at the end of the link line for the benefit
authorRalph Giles <giles@xiph.org>
Mon, 5 May 2008 00:13:31 +0000 (00:13 +0000)
committerRalph Giles <giles@xiph.org>
Mon, 5 May 2008 00:13:31 +0000 (00:13 +0000)
of iterative ("single-pass") linkers.

svn path=/trunk/vorbis/; revision=14836

lib/Makefile.am

index 212eccc..50f7ea4 100644 (file)
@@ -16,15 +16,15 @@ libvorbis_la_SOURCES = mdct.c smallft.c block.c envelope.c window.c lsp.c \
                        registry.h scales.h window.h lookup.h lookup_data.h\
                        codec_internal.h backends.h bitrate.h 
 libvorbis_la_LDFLAGS = -no-undefined -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
-libvorbis_la_LIBADD = @OGG_LIBS@ @VORBIS_LIBS@
+libvorbis_la_LIBADD = @VORBIS_LIBS@ @OGG_LIBS@
 
 libvorbisfile_la_SOURCES = vorbisfile.c
 libvorbisfile_la_LDFLAGS = -no-undefined -version-info @VF_LIB_CURRENT@:@VF_LIB_REVISION@:@VF_LIB_AGE@
-libvorbisfile_la_LIBADD = @OGG_LIBS@ libvorbis.la
+libvorbisfile_la_LIBADD = libvorbis.la @OGG_LIBS@
 
 libvorbisenc_la_SOURCES = vorbisenc.c 
 libvorbisenc_la_LDFLAGS = -no-undefined -version-info @VE_LIB_CURRENT@:@VE_LIB_REVISION@:@VE_LIB_AGE@
-libvorbisenc_la_LIBADD = @OGG_LIBS@ libvorbis.la
+libvorbisenc_la_LIBADD = libvorbis.la @OGG_LIBS@
 
 EXTRA_PROGRAMS = barkmel tone psytune
 CLEANFILES = $(EXTRA_PROGRAMS)