summaryrefslogtreecommitdiff
path: root/src/tecmake.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/tecmake.mak')
-rw-r--r--src/tecmake.mak7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tecmake.mak b/src/tecmake.mak
index 39904c8..0d9109e 100644
--- a/src/tecmake.mak
+++ b/src/tecmake.mak
@@ -516,6 +516,13 @@ ifneq ($(findstring MacOS, $(TEC_UNAME)), )
else
STDLDFLAGS := -bundle -undefined dynamic_lookup
endif
+ ifdef USE_OPENGL
+ 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
+ endif
endif
ifneq ($(findstring FreeBSD, $(TEC_UNAME)), )