diff options
Diffstat (limited to 'src/cdgl.mak')
-rw-r--r-- | src/cdgl.mak | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cdgl.mak b/src/cdgl.mak index 47b15e4..cd2c369 100644 --- a/src/cdgl.mak +++ b/src/cdgl.mak @@ -14,3 +14,13 @@ endif USE_OPENGL = YES USE_CD = YES CD = .. + +ifneq ($(findstring MacOS, $(TEC_UNAME)), ) + ifeq ($(TEC_SYSMINOR), 5) + #Darwin9 Only - OpenGL bug fix for Fink, when the message bellow appears + # ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib + LFLAGS=-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib + endif + + BUILD_DYLIB=Yes +endif |