Hi all,

I am packaging some code which uses SDL, and which is falling over  
due to a missing -framework OpenGL on the link line. Although I could  
just add this to my package, I am wondering if this is something that  
SDL should be supplying it in its pkg-config --libs output.

$pkg-config --libs sdl
-Wl,-framework,Cocoa -L/sw/lib -lSDLmain -lSDL

$otool -L /sw/lib/libSDL-1.2.0.dylib
/sw/lib/libSDL-1.2.0.dylib:
         /sw/lib/libSDL-1.2.0.dylib (compatibility version 12.0.0,  
current version 12.1.0)
         /System/Library/Frameworks/OpenGL.framework/Versions/A/ 
OpenGL (compatibility version 1.0.0, current version 1.0.0)
[snip]

so it looks to me like the indirect linkage to OpenGL.framework  
produced by linking against SDL should be specified in SDL's .pc  
file. Should I notify the SDL maintainer?

Phil.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to