Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with dynamic lib loading still links to libs at load time #19

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: unspecified
Reported for operating system, platform: Mac OS X (All), PowerPC

Comments on the original bug report:

On 2006-07-10 19:34:12 +0000, Peter Mulholland wrote:

I noticed by examining the resulting libSDL_mixer.dylib with otool -L, even when built with dynamic loading of OGG Vorbis, that the library binaryu still specifies dependancies on libogg, libvorbis and libvorbisfile.

Surely this defeats the point of loading these libs at run time? This would be a great bonus on OS X as it would avoid having to use install_name_tool when setting up your app bundle with the dylibs included, due to Apple's stupidity in hard-coding lib paths into the binaries!

I build SDL_mixer using the gcc-fat.sh script as the compiler. Could this be related? It doesn't seem so to me, it seems more like a ./configure issue

On 2007-02-12 21:11:33 +0000, Ryan C. Gordon wrote:

Dynamic loading was forcibly disabled in the configure script on Mac OS X...so it wasn't that it was loading it at runtime and also explicitly linking against it, it's that it was ONLY linking explicitly against it.

I've corrected this in Subversion now, for both Ogg Vorbis and SMPEG.

Fixed in svn revision # 2959.

--ryan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant