vorbis cross-compiling with mingw
When I tried to cross compile vorbis with mingw, it failed.
I added two things:
- The LIBTOOL for win32 in the configure.in file:
AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL
Without that special macro a lot of things are simply not working right.
- The @OGG_LIBS@ on the vorbisfile library LDADD flags:
libvorbisfile_la_LIBADD = libvorbis.la @OGG_LIBS@
Without that, somehow the link fails saying that it cannot find the ogg functions.
Point (1) will for sure have no effect on the Linux version.
Change (2) may have an effect. Also it should be minimal (such as adding one entry in the list of libraries linked with libvorbisfile.
Alexis Wilke