http://bugs.winehq.org/show_bug.cgi?id=10184
Summary: Wine configure script unable to resolve -lGL on Mac OS X 10.5 Product: Wine Version: 0.9.48. Platform: Macintosh OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-opengl AssignedTo: wine-bugs@winehq.org ReportedBy: ryanwalklin@gmail.com
The configure script fails to find /usr/X11/lib/libGL.dylib, which is available on Mac OS X 10.5 if the X11 user and dev packages are installed. Consequently OpenGL is unavailable to Wine.
More correctly Wine should link to /System/Library/Frameworks/OpenGL.Framework/Versions/A/Libraries/OpenGL.dylib, as the /usr/X11/lib library consists of links to the Framework. This can be achieved by directly linking to the framework (-Framework OpenGL -framework GLUT) rather than -lGL and -lGLU on OS X.