[MacPorts] #23899: libsdl_mixer static lib linked with dynamic dependencies
MacPorts
noreply at macports.org
Mon Mar 1 13:53:37 PST 2010
#23899: libsdl_mixer static lib linked with dynamic dependencies
-------------------------------+--------------------------------------------
Reporter: domiman@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: libsdl_mixer
-------------------------------+--------------------------------------------
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
--
Ticket URL: <http://trac.macports.org/ticket/23899>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list