Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Gartner <stefang@aon.at>2009-12-21 13:38:04 +0300
committerStefan Gartner <stefang@aon.at>2009-12-21 13:38:04 +0300
commit5e6e3453a581f7f2bafae1ce4ebeba113a523c86 (patch)
treee63901f340c6e2e0c8f3f82fa128fd5127ef6c27 /source/nan_link.mk
parentf7f06d96f3c13623448d899e1fe2577ed6cbf996 (diff)
OS X: added support for building with Cocoa to Makefiles
to build with Cocoa support, set WITH_COCOA to true in user-def.mk
Diffstat (limited to 'source/nan_link.mk')
-rw-r--r--source/nan_link.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/nan_link.mk b/source/nan_link.mk
index f8bb8e8660d..0524ee7592d 100644
--- a/source/nan_link.mk
+++ b/source/nan_link.mk
@@ -54,8 +54,11 @@ ifeq ($(OS),darwin)
LLIBS += -lz -lstdc++
ifdef USE_OSX10.4STUBS
LLIBS +=-lSystemStubs
- endif
- LLIBS += -framework Carbon -framework AGL -framework OpenGL
+ endif
+ ifeq ($(WITH_COCOA), true)
+ LLIBS += -framework Cocoa
+ 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