* Christian Anthon <[EMAIL PROTECTED]> [080407 21:26]:
> I don't know how this is supposed to work on OS X. But here is an
> explanation on how things work on linux:
>
> There are two different link paths in play here. First the one used
> when building the application. That is the one you modify. The
> application keeps track on which dynamic libs it needs, for example
> libGL.dylib, but without storing the path to find it. That makes it
> easier to use a binary on more than one computer, since on one
> computer libGL.dylib might be found in /lib and on the other in
> /opt/lib. The second link path is a runtime one, that tells the binary
> where to look for for libs, say in /lib first and in /opt/lib second.
> You need to modify this runtime ldpath as well.
I tried this one with success:
export
LDFLAGS="${LDFLAGS}-dylib_file/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
Everything is fine now! Framerate 135.3/sec. Is it possible to put the
above settings into the Makefile somehow?
Ciao
Achim
_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg