[vlc-commits] contrib/ffmpeg: fix iOS cross compilation

Felix Paul Kühne git at videolan.org
Wed Jul 17 14:03:38 CEST 2019


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Wed Jul 17 13:58:07 2019 +0200| [44d007a9bbe629572f8ade692b24395e8c96439c] | committer: Felix Paul Kühne

contrib/ffmpeg: fix iOS cross compilation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44d007a9bbe629572f8ade692b24395e8c96439c
---

 contrib/src/ffmpeg/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 3059e830c5..8179fc3c93 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -149,7 +149,7 @@ ifeq ($(ARCH),x86_64)
 FFMPEGCONF += --cpu=core2
 endif
 ifdef HAVE_IOS
-FFMPEGCONF += --enable-pic --extra-ldflags="$(EXTRA_CFLAGS)"
+FFMPEGCONF += --enable-pic --extra-ldflags="$(EXTRA_CFLAGS) -isysroot $(IOS_SDK)"
 ifdef HAVE_NEON
 FFMPEGCONF += --as="$(AS)"
 endif



More information about the vlc-commits mailing list