From ef5ab70574ff9ed6c05ffa243052a2152755b556 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 7 Jul 2014 18:03:39 +0000 Subject: [PATCH] adding libs for ios git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 4 ++++ configure.in | 11 ++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) 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