You’ll need --enable-dl-lame
as well so that it will use the dynamic library:
./configure --with-lame --enable-dl-lame
Edit to incorporate information from the comment discussion:
More Cygwin packages may be required, such as libltdl
and libtool-*
(for dynamic loading support), zlib-related packages (for libid3tag) etc.
Also, configure.ac
needs patching (change *mingw*)
to *cygwin* | *mingw*)
in line 175), then the configure
script has to be regenerated via autoreconf
(gcc-tools
Cygwin package). Alternatively, you could try to find the line in configure
that corresponds to configure.ac
line 175 and change that; regenerating isn’t necessary in that case.