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 12:57:12 +0100 |
commit | 7191b6b7503a5a17f93bd61283f22d409c5cb17b (patch) | |
tree | 374fefdb157615886e619602f246a0d7f786cc9d /meta/recipes-devtools/python | |
parent | 7106f840b7d2a71171131c3c3e5fc311718ca718 (diff) | |
download | openembedded-core-7191b6b7503a5a17f93bd61283f22d409c5cb17b.tar.gz openembedded-core-7191b6b7503a5a17f93bd61283f22d409c5cb17b.tar.bz2 openembedded-core-7191b6b7503a5a17f93bd61283f22d409c5cb17b.zip |
python: obey LDFLAGS
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
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() { 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' \ |