configure --with-dyn-default loses mp3 format handlers #653
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
configure --with-dyn-default loses mp3 format handlers
Description
To make those three dynamically loaded you have to use
But it gets better. when
--with-dyn-defaultis given,mp2andmp3are not includedin the list of
AUDIO FILE FORMATSand reading or writingmp2ormp3files sayswhether you also give
--enable-dl-map --enable-dl-lame --enable-dl-twolameor not.Analysis
It's been like that since
sox-14.4.2, indeed sincesox-14.3.2.It does compile
mp3.cbut doesn't include it inlibsox[_ng].*In
configure.ac,--with-dyn-defaultsetsopt_defaulttodyninstead ofyes,which is used in macro
AC_OPTIONAL_FORMATinm4/optional-fmt.m4.The effect of
--with-dyn-defaulton the MPEG libraries is the same as saying--with-mp3=dyn.Conclusion
There are two issues here:
--with-dyn-defaultnot makingmad,lameandtwolamedynamically loaded. See #587--with-dyn-defaultremovingmp2andmp3formats completely, even though it does compilemp3.c