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:
Diffstat (limited to 'source/nan_link.mk')
-rw-r--r--source/nan_link.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/source/nan_link.mk b/source/nan_link.mk
index 0524ee7592d..f28a07f06a9 100644
--- a/source/nan_link.mk
+++ b/source/nan_link.mk
@@ -59,9 +59,19 @@ ifeq ($(OS),darwin)
LLIBS += -framework Cocoa
endif
LLIBS += -framework Carbon -framework AGL -framework OpenGL
- LLIBS += -framework QuickTime -framework CoreAudio
- LLIBS += -framework AudioUnit -framework AudioToolbox
+ ifeq ($(WITH_QUICKTIME), true)
+ ifeq ($(USE_QTKIT), true)
+ LLIBS += -framework QTKit
+ else
+ LLIBS += -framework QuickTime
+ endif
+ endif
+ LLIBS += -framework CoreAudio
+ LLIBS += -framework AudioUnit -framework AudioToolbox
LDFLAGS += -L/System/Library/Frameworks/OpenGL.framework/Libraries
+ # useful for crosscompiling
+ LDFLAGS += -arch $(MACOSX_ARCHITECTURE) #-isysroot $(MACOSX_SDK) -mmacosx-version-min=$(MACOSX_MIN_VERS)
+
DBG_LDFLAGS += -L/System/Library/Frameworks/OpenGL.framework/Libraries
endif