[FFmpeg-cvslog] configure: Check for SecItemImport for securetransport as well

Rodger Combs git at videolan.org
Sun May 31 12:09:51 CEST 2015


ffmpeg | branch: master | Rodger Combs <rodger.combs at gmail.com> | Sat May 30 22:05:32 2015 -0500| [c729021f450f6d5a47698d3f248bf4c2a0ad2142] | committer: Michael Niedermayer

configure: Check for SecItemImport for securetransport as well

This fixes the default build on iOS; eventually I should come up with
a better solution for that platform.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c729021f450f6d5a47698d3f248bf4c2a0ad2142
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index fb7ec68..fe3d25d 100755
--- a/configure
+++ b/configure
@@ -5218,7 +5218,7 @@ fi
 enabled sdl && add_cflags $sdl_cflags && add_extralibs $sdl_libs
 
 disabled securetransport || { check_func SecIdentityCreate "-Wl,-framework,CoreFoundation -Wl,-framework,Security" &&
-    check_lib2 Security/SecureTransport.h SSLCreateContext "-Wl,-framework,CoreFoundation -Wl,-framework,Security" &&
+    check_lib2 "Security/SecureTransport.h Security/Security.h" "SSLCreateContext SecItemImport" "-Wl,-framework,CoreFoundation -Wl,-framework,Security" &&
     enable securetransport; }
 
 makeinfo --version > /dev/null 2>&1 && enable makeinfo  || disable makeinfo



More information about the ffmpeg-cvslog mailing list