compatibility fix for Os X tiger with make.

add export USE_OSX10.4STUBS = 1 to your user-def.mk if compile fails
on missing definitions like _printf$LGDB

those are parts of the 10.4 sdk.

This is interim fix as scons dont need this and we should be able
to acheive same result with make. investigating further on this.
This commit is contained in:
Jean-Luc Peurière 2005-09-18 11:19:53 +00:00
parent adb6e0cd2e
commit 4803b14675

@ -57,7 +57,11 @@ endif
ifeq ($(OS),darwin)
LLIBS += -lGLU -lGL
LLIBS += -lz -framework Carbon -framework AGL -framework OpenGL
LLIBS += -lz -lstdc++
ifdef USE_OSX10.4STUBS
LLIBS +=-lSystemStubs
endif
LLIBS += -framework Carbon -framework AGL -framework OpenGL
LLIBS += -framework QuickTime -framework CoreAudio
LLIBS += -framework AudioUnit -framework AudioToolbox
LDFLAGS += -L/System/Library/Frameworks/OpenGL.framework/Libraries