Patchwork libav: install libraries to right directory when multilib is enabled

login
register
mail settings
Submitter Nick D'Ademo
Date Nov. 26, 2013, 6:26 a.m.
Message ID <1385447206-30966-1-git-send-email-nickdademo@gmail.com>
Download mbox | patch
Permalink /patch/62357/
State New
Headers show

Comments

Nick D'Ademo - Nov. 26, 2013, 6:26 a.m.
Explicitly set libdir and shlibdir to ${libdir} in EXTRA_OECONF. Otherwise, default library path of ${prefix}/lib is used which is incorrect in a multilib build.

Signed-off-by: Nick D'Ademo <nickdademo@gmail.com>
---
 meta/recipes-multimedia/libav/libav.inc |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-multimedia/libav/libav.inc b/meta/recipes-multimedia/libav/libav.inc
index eefee66..9f82423 100644
--- a/meta/recipes-multimedia/libav/libav.inc
+++ b/meta/recipes-multimedia/libav/libav.inc
@@ -55,6 +55,8 @@  EXTRA_OECONF = " \
     --sysroot="${STAGING_DIR_TARGET}" \
     --enable-hardcoded-tables \
     ${EXTRA_FFCONF} \
+    --libdir=${libdir} \
+    --shlibdir=${libdir} \
 "
 
 do_configure() {