[MPlayer-dev-eng] [PATCH] Add proper linking flags to link qtx on osx if we are built with --disable-macosx

Jeremy Huddleston jeremyhu at macports.org
Thu Apr 23 11:32:33 CEST 2009


Due to namespace conflicts between vo_macosx and vo_gl, both can't be  
built in at the same time.  As such, I tried just --disable-osx, but  
then the quicktime codecs fail to link.  This fixes the problem:

--- configure.orig	2009-04-12 10:07:30.000000000 -0700
+++ configure	2009-04-22 22:53:09.000000000 -0700
@@ -6760,6 +6763,7 @@ fi
if test "$_qtx" = yes ; then
     def_qtx='#define CONFIG_QTX_CODECS 1'
     win32 && _qtx_codecs_win32=yes && def_qtx_win32='#define  
CONFIG_QTX_CODECS_WIN32 1'
+    darwin && extra_ldflags="$extra_ldflags -framework Carbon - 
framework QuickTime" && def_quicktime='#define CONFIG_QUICKTIME 1'
     _codecmodules="qtx $_codecmodules"
     darwin || win32 || _qtx_emulation=yes
else



More information about the MPlayer-dev-eng mailing list