[Vorbis-dev] Need @OGG_LIBS@ added to libvorbisfile_la_LIBADD in trunk/vorbis/lib/Makefile.am

Eric Benson eric_a_benson at yahoo.com
Wed Dec 8 16:57:23 PST 2004


I'm trying to build libvorbis-1.1.0 on Cygwin and I discovered a missing 
dependency that may not affect other platforms. I found that I had to 
add -logg to the libvorbisfile.la rule in the Makefile. Working its way 
back upstream through configure and autogen, it looks like the following 
line in trunk/vorbis/lib/Makefile.am

libvorbisfile_la_LIBADD = libvorbis.la

just needs to be changed to

libvorbisfile_la_LIBADD = libvorbis.la @OGG_LIBS@

Is this correct? I assume that building a shared library on a "real" 
Unix platform doesn't require every symbol to be defined at build time, 
but building on Windows does. Or something like that. I noticed that the 
definition of libvorbis_la_LIBADD already has @OGG_LIBS@ in it, so 
perhaps this is only an oversight.


More information about the Vorbis-dev mailing list