Patchwork [2/2] serf: specify LIBDIR to avoid install issue

login
register
mail settings
Submitter Ting Liu
Date July 23, 2014, 3:58 a.m.
Message ID <1406087937-32112-2-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/76453/
State Accepted
Commit b7f8fded0de08d2bfe16541bc4d8c9073b3bb941
Headers show

Comments

Ting Liu - July 23, 2014, 3:58 a.m.
From: Ting Liu <ting.liu@freescale.com>

LIBDIR defaults to ${prefix}/lib, use ${libdir} to avoid issue on
64bit platforms.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
---
 meta/recipes-support/serf/serf_1.3.6.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-support/serf/serf_1.3.6.bb b/meta/recipes-support/serf/serf_1.3.6.bb
index 9893cb7..08b04d3 100644
--- a/meta/recipes-support/serf/serf_1.3.6.bb
+++ b/meta/recipes-support/serf/serf_1.3.6.bb
@@ -21,7 +21,7 @@  do_compile() {
 }
 
 do_install() {
-	${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} install
+	${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} LIBDIR=${D}${libdir} install
 }
 
-BBCLASSEXTEND = "native"
\ No newline at end of file
+BBCLASSEXTEND = "native"