Commit 5bde7a82 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/vpx: fix compilation for AArch64 with the updated iOS build script

parent edd9048b
...@@ -91,7 +91,12 @@ VPX_CONF += --sdk-path=$(MACOSX_SDK) ...@@ -91,7 +91,12 @@ VPX_CONF += --sdk-path=$(MACOSX_SDK)
endif endif
ifdef HAVE_IOS ifdef HAVE_IOS
VPX_CONF += --sdk-path=$(IOS_SDK) --enable-vp8-decoder --disable-vp8-encoder --disable-vp9-encoder VPX_CONF += --sdk-path=$(IOS_SDK) --enable-vp8-decoder --disable-vp8-encoder --disable-vp9-encoder
VPX_LDFLAGS := -L$(IOS_SDK)/usr/lib -arch $(ARCH) -syslibroot $(IOS_SDK) -ios_version_min 6.1 VPX_LDFLAGS := -L$(IOS_SDK)/usr/lib -syslibroot $(IOS_SDK) -ios_version_min 6.1
ifeq ($(ARCH),aarch64)
VPX_LDFLAGS += -arch arm64
else
VPX_LDFLAGS += -arch $(ARCH)
endif
endif endif
ifdef HAVE_ANDROID ifdef HAVE_ANDROID
# vpx configure.sh overrides our sysroot and it looks for it itself, and # vpx configure.sh overrides our sysroot and it looks for it itself, and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment