From a2fdb7679b0749188001b2f9b8075a8d6eeb0dd3 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Fri, 22 Oct 2021 15:31:28 +0200 Subject: [PATCH] libvpx: fix build with ndk-r23 Seems we need to explicitly pass -fPIC for all arches. --- packages/libvpx/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/libvpx/build.sh b/packages/libvpx/build.sh index 98097f152..cc97df00e 100644 --- a/packages/libvpx/build.sh +++ b/packages/libvpx/build.sh @@ -52,5 +52,6 @@ termux_step_configure() { --enable-pic \ --enable-vp8 \ --enable-shared \ - --enable-small + --enable-small \ + --extra-cflags="-fPIC" }