Ticket #18425 (closed enhancement: wontfix)
static ogg in libSDL_mixer
|Reported by:||vitto.giova@…||Owned by:||macports-tickets@…|
|Keywords:||sdl, ogg, vorbis, libSDL, libSDL_mixer, deployment, bundle||Cc:|
I was using macports version of libSDL_mixer to deploy an app i ported to the mac platform. When i tested it on a system without macports before deploying, i noticed that it would crash as soon as an ogg file was loaded.
After some research, i discovered that ogg libraries were loaded at runtime! However this is bad for the point of view of deployment, because when you create a mac bundle you have to relocate libraries, but this can't be done if libs are loaded at runtime.
On the other hand with the proposed patch it is possible to include the ogg libraries in libSDL_mixer and to avoid this situation. It is not really different with what is done in libSDL_image in which libpng and others are statically built.