[oe-commits] Christopher Larson : python: obey LDFLAGS
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 22 12:05:25 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 7191b6b7503a5a17f93bd61283f22d409c5cb17b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7191b6b7503a5a17f93bd61283f22d409c5cb17b
Author: Christopher Larson <chris_larson at mentor.com>
Date: Wed Sep 3 09:42:54 2014 -0700
python: obey LDFLAGS
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
meta/recipes-devtools/python/python_2.7.3.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
index 58bcced..d93bc64 100644
--- a/meta/recipes-devtools/python/python_2.7.3.bb
+++ b/meta/recipes-devtools/python/python_2.7.3.bb
@@ -75,7 +75,7 @@ do_compile() {
if [ ! -f Makefile.orig ]; then
install -m 0644 Makefile Makefile.orig
fi
- sed -i -e 's,^LDFLAGS=.*,LDFLAGS=-L. -L${STAGING_LIBDIR},g' \
+ sed -i -e 's#^LDFLAGS=.*#LDFLAGS=${LDFLAGS} -L. -L${STAGING_LIBDIR}#g' \
-e 's,libdir=${libdir},libdir=${STAGING_LIBDIR},g' \
-e 's,libexecdir=${libexecdir},libexecdir=${STAGING_DIR_HOST}${libexecdir},g' \
-e 's,^LIBDIR=.*,LIBDIR=${STAGING_LIBDIR},g' \
More information about the Openembedded-commits
mailing list