[vlc-devel] [PATCH] contrib/vpx: fix compilation for iOS Simulator

Felix Paul Kühne fkuehne at videolan.org
Fri Dec 6 18:28:16 CET 2019


From: Felix Paul Kühne <felix at feepk.net>

---
 contrib/src/vpx/rules.mak | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index 15af2a4fb4..1d97aef6d1 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -74,6 +74,7 @@ ifeq ($(ARCH),$(filter $(ARCH), arm aarch64))
 VPX_OS := darwin
 else
 VPX_OS := darwin11
+VPX_CROSS :=
 endif
 else ifdef HAVE_SOLARIS
 VPX_OS := solaris
@@ -126,7 +127,7 @@ ifdef HAVE_MACOSX
 VPX_CONF += --sdk-path=$(MACOSX_SDK) --extra-cflags="$(EXTRA_CFLAGS)"
 endif
 ifdef HAVE_IOS
-VPX_CONF += --sdk-path=$(IOS_SDK) --enable-vp8-decoder
+VPX_CONF += --sdk-path=$(IOS_SDK) --enable-vp8-decoder --disable-tools
 ifdef HAVE_TVOS
 VPX_LDFLAGS := -L$(IOS_SDK)/usr/lib -isysroot $(IOS_SDK) -mtvos-version-min=9.0
 else
-- 
2.21.0 (Apple Git-122.2)



More information about the vlc-devel mailing list