aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2023-02-23 08:48:39 -0600
committerKhem Raj <raj.khem@gmail.com>2023-02-24 08:45:44 -0800
commit6aa414ea0e7258f9ab685934d69e078fc036f1a7 (patch)
treebf88e384e5139e58d7eb50cbc5dcf40ced17afa2 /meta-oe/recipes-multimedia
parent3092ceda51f9eb0be8c425d6402d6cafb1a5204b (diff)
downloadmeta-openembedded-6aa414ea0e7258f9ab685934d69e078fc036f1a7.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-multimedia')
-rw-r--r--meta-oe/recipes-multimedia/webm/libvpx_1.12.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx_1.12.0.bb b/meta-oe/recipes-multimedia/webm/libvpx_1.12.0.bb
index 066d7cc815..9c04c2a341 100644
--- a/meta-oe/recipes-multimedia/webm/libvpx_1.12.0.bb
+++ b/meta-oe/recipes-multimedia/webm/libvpx_1.12.0.bb
@@ -19,6 +19,7 @@ S = "${WORKDIR}/git"
ARM_INSTRUCTION_SET = "arm"
CFLAGS += "-fPIC"
+BUILD_LDFLAGS += "-pthread"
export CC
export LD = "${CC}"