Static decoder_plugins

Is there any option to compile decoder_plugins into main binary?

No, but if there is good enough reason I could think about such an option.
--
Damian Pietras - MOC developer

I need a binary file, which I can copy from one distribution to another, without installing any libraries. I tried to make decoder_plugin files with ".a" extension, but those didn't work :(

You can copy whole decoder_plugin directory along with the mocp binary. There could be problems with different libraries versions (like libvorbis, libmad etc). Generally, moving dynamically linked libraries between various distributions can cause problems.

--
Damian Pietras - MOC developer