[oe] [PATCH 9/9] glibc: fix LD_LIBRARY_PATH

Adrian Alonso aalonso00 at gmail.com
Mon Jul 12 19:45:50 UTC 2010


* Configure fails due to LD_LIBRARY_PATH
* checking LD_LIBRARY_PATH variable... contains current directory
* | configure: error:
* | *** LD_LIBRARY_PATH shouldn't contain the current directory when
* | *** building glibc. Please change the environment variable
* | *** and run configure again.

Signed-off-by: Adrian Alonso <aalonso00 at gmail.com>
---
 recipes/glibc/glibc_2.9.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/glibc/glibc_2.9.bb b/recipes/glibc/glibc_2.9.bb
index e7ab63d..4196704 100644
--- a/recipes/glibc/glibc_2.9.bb
+++ b/recipes/glibc/glibc_2.9.bb
@@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm"
 PACKAGES_DYNAMIC = "libc6*"
 RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev"
 
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.4"
 
 # the -isystem in bitbake.conf screws up glibc do_stage
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
@@ -143,6 +143,7 @@ do_configure () {
 		exit 1
 	fi
 	(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
+	export LD_LIBRARY_PATH=`echo ${LD_LIBRARY_PATH} | sed 's/^://'`
 	CPPFLAGS="" oe_runconf
 }
 
-- 
1.7.1.1





More information about the Openembedded-devel mailing list