mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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:
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user