Patchwork [1/1] x264: install libraries to right directory when enable multilib

login
register
mail settings
Submitter Kang Kai
Date Nov. 25, 2013, 8:17 a.m.
Message ID <8d9e0c1697a9e56ca71e45d00df863ae0f63bcf5.1385367202.git.kai.kang@windriver.com>
Download mbox | patch
Permalink /patch/62274/
State Accepted
Commit 2d5b4af33882b3c7731d6aa1f4a67734d80c9afa
Headers show

Comments

Kang Kai - Nov. 25, 2013, 8:17 a.m.
x264 use [EPREFIX/lib] as default libdir. When multlib is enabled that
is not right. Packages depends on x264 such as libav configure fails
that can't find library x264.

Pass the right libdir to configure script to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/recipes-multimedia/x264/x264_git.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-multimedia/x264/x264_git.bb b/meta/recipes-multimedia/x264/x264_git.bb
index 295818a..406df30 100644
--- a/meta/recipes-multimedia/x264/x264_git.bb
+++ b/meta/recipes-multimedia/x264/x264_git.bb
@@ -25,6 +25,7 @@  X264_DISABLE_ASM_armv5 = "--disable-asm"
 
 EXTRA_OECONF = '--prefix=${prefix} \
                 --host=${HOST_SYS} \
+                --libdir=${libdir} \
                 --cross-prefix=${TARGET_PREFIX} \
                 --sysroot=${STAGING_DIR_TARGET} \
                 --enable-shared \