diff --git a/configure b/configure index 1ed8fbfe28..fd5c994097 100755 --- a/configure +++ b/configure @@ -36854,7 +36854,11 @@ fi fi elif test "$wxUSE_MAC" = 1; then + if test "$wxUSE_OSX_IPHONE" = 1; then + GST_LIBS="-framework AVFoundation -framework CoreMedia" + else GST_LIBS="-framework QTKit" + fi fi if test $USE_MEDIA = 1; then diff --git a/configure.in b/configure.in index c6581c3613..f1ac242ef5 100644 --- a/configure.in +++ b/configure.in @@ -7311,9 +7311,14 @@ if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then fi elif test "$wxUSE_MAC" = 1; then - dnl We always have the necessary libraries under Mac - dnl but we need to link with it explicitly. - GST_LIBS="-framework QTKit" + if test "$wxUSE_OSX_IPHONE" = 1; then + dnl this will also be used for cocoa in the future + GST_LIBS="-framework AVFoundation -framework CoreMedia" + else + dnl We always have the necessary libraries under Mac + dnl but we need to link with it explicitly. + GST_LIBS="-framework QTKit" + fi fi if test $USE_MEDIA = 1; then