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

Felix Paul Kühne git at videolan.org
Tue Apr 21 17:49:50 CEST 2020


vlc/vlc-3.0 | branch: master | Felix Paul Kühne <felix at feepk.net> | Wed Jul 17 13:58:07 2019 +0200| [b7574279cb092e20946dbc49b9e01ce185ea32c3] | committer: Hugo Beauzée-Luyssen

contrib/ffmpeg: fix iOS cross compilation

(cherry picked from commit 44d007a9bbe629572f8ade692b24395e8c96439c)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 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 82fcc9955f..4db97585ea 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -144,7 +144,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