diff options
author | Christopher Larson <chris_larson@mentor.com> | 2014-09-03 09:42:54 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-22 13:04:22 +0100 |
commit | adb3d77dd088392a25cdfd50736ded4933ba4ee5 (patch) | |
tree | abd4fd25607313830e5d5070299a3b4e14ab3841 /meta/recipes-devtools/python | |
parent | 93f7d098e569723230728a74a461c648452d463e (diff) | |
download | poky-adb3d77dd088392a25cdfd50736ded4933ba4ee5.tar.gz |
python: obey LDFLAGS
(From OE-Core rev: 7191b6b7503a5a17f93bd61283f22d409c5cb17b)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.3.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb index 58bccedb8f..d93bc64dbf 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() { | |||
75 | if [ ! -f Makefile.orig ]; then | 75 | if [ ! -f Makefile.orig ]; then |
76 | install -m 0644 Makefile Makefile.orig | 76 | install -m 0644 Makefile Makefile.orig |
77 | fi | 77 | fi |
78 | sed -i -e 's,^LDFLAGS=.*,LDFLAGS=-L. -L${STAGING_LIBDIR},g' \ | 78 | sed -i -e 's#^LDFLAGS=.*#LDFLAGS=${LDFLAGS} -L. -L${STAGING_LIBDIR}#g' \ |
79 | -e 's,libdir=${libdir},libdir=${STAGING_LIBDIR},g' \ | 79 | -e 's,libdir=${libdir},libdir=${STAGING_LIBDIR},g' \ |
80 | -e 's,libexecdir=${libexecdir},libexecdir=${STAGING_DIR_HOST}${libexecdir},g' \ | 80 | -e 's,libexecdir=${libexecdir},libexecdir=${STAGING_DIR_HOST}${libexecdir},g' \ |
81 | -e 's,^LIBDIR=.*,LIBDIR=${STAGING_LIBDIR},g' \ | 81 | -e 's,^LIBDIR=.*,LIBDIR=${STAGING_LIBDIR},g' \ |