Opened 16 years ago
Closed 14 years ago
#18425 closed enhancement (wontfix)
static ogg in libSDL_mixer
Reported by: | vitto.giova@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | sdl, ogg, vorbis, libSDL, libSDL_mixer, deployment, bundle | Cc: | |
Port: | libsdl_mixer |
Description
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.
Attachments (1)
Change History (4)
Changed 16 years ago by vitto.giova@…
Attachment: | portfile.diff added |
---|
comment:3 Changed 14 years ago by jmroot (Joshua Root)
Cc: | vitto.giova@… removed |
---|---|
Port: | libsdl_mixer added; libSDL_mixer removed |
Resolution: | → wontfix |
Status: | new → closed |
Shared libraries are the norm on OS X; we're not going to disable them. Read about @executable_path and friends in the dyld man page.
working portfile patch