diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2005-09-18 15:19:53 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2005-09-18 15:19:53 +0400 |
commit | 4803b14675b1a01a5973101d5b845393e69ccf88 (patch) | |
tree | 90f3828e17d6fcf2c27bbcb5b7083202bf3cc1ba /source/nan_link.mk | |
parent | adb6e0cd2eff5c295b9d3390c0d8725e1f564c30 (diff) |
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.
Diffstat (limited to 'source/nan_link.mk')
-rw-r--r-- | source/nan_link.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/nan_link.mk b/source/nan_link.mk index 17c51074acf..e8f852c94aa 100644 --- a/source/nan_link.mk +++ b/source/nan_link.mk @@ -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 |