(svn r3088) -Fix: [OSX] fixed issue where OSX could not dynamic link to quicktime [ 1334917 ]
authorbjarni
Tue, 25 Oct 2005 19:41:32 +0000
changeset 2555 58ed3afaf3ab
parent 2554 cd74b7099965
child 2556 a6f1c61fa5d0
(svn r3088) -Fix: [OSX] fixed issue where OSX could not dynamic link to quicktime [ 1334917 ]
Makefile
--- a/Makefile	Tue Oct 25 18:29:32 2005 +0000
+++ b/Makefile	Tue Oct 25 19:41:32 2005 +0000
@@ -494,16 +494,22 @@
 endif
 
 
-# OSX path setup
+# OSX specific setup
 ifdef OSX
-ifndef SECOND_DATA_PATH
-SECOND_DATA_PATH:="$(OSXAPP)/Contents/Data/"
-endif
-ifndef CUSTOM_LANG_DIR
-ifndef DEDICATED
-CUSTOM_LANG_DIR:="$(OSXAPP)/Contents/Lang/"
-endif
-endif
+	ifndef DEDICATED
+		LIBS += -framework QuickTime
+	endif
+
+	# OSX path setup
+	ifndef SECOND_DATA_PATH
+		SECOND_DATA_PATH:="$(OSXAPP)/Contents/Data/"
+	endif
+
+	ifndef CUSTOM_LANG_DIR
+		ifndef DEDICATED
+		CUSTOM_LANG_DIR:="$(OSXAPP)/Contents/Lang/"
+		endif
+	endif
 endif
 
 ifdef MIDI