libvpx: Explicitly link with pthread support

When building for the native build host, explicitly add the -pthread
option to link against the pthread libraries. This errors like:

  vp9_encoder.c:(.text+0x2073): undefined reference to `pthread_once'

when building the native variant

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Joshua Watt
2023-02-23 08:48:39 -06:00
committed by Khem Raj
parent 3092ceda51
commit 6aa414ea0e
@@ -19,6 +19,7 @@ S = "${WORKDIR}/git"
ARM_INSTRUCTION_SET = "arm" ARM_INSTRUCTION_SET = "arm"
CFLAGS += "-fPIC" CFLAGS += "-fPIC"
BUILD_LDFLAGS += "-pthread"
export CC export CC
export LD = "${CC}" export LD = "${CC}"