Opened 14 years ago

Last modified 13 years ago

#23899 closed defect

libsdl_mixer static lib linked with dynamic dependencies — at Initial Version

Reported by: domiman@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: libsdl_mixer

Description

The static lib of libsdl_mixer (libSDL_mixer.a) is linked against/with the dynamic libs of its dependencies (smpeg, libvorbis, libogg and if it is installed, flac). otool doesn't show it but when you open the file libSDL_mixer.a with an editor you can see that it links with the dylib files and when you compile an app with static libsdl_mixer the app will depend on the dynmaic libs.

I'm not sure what to do about this. The ./configure options --disable-music-mp3-shared \ --disable-music-ogg-shared \ --disable-music-flac-shared will make the static lib not use these libs at all. With --disable-shared libsdl_mixer will not compile.

This might be an upstream problem, as soon as I'm allowed to post in the SDL forum, I'll report there, too

Change History (0)

Note: See TracTickets for help on using tickets.