From: Christopher Larson Date: Wed, 3 Sep 2014 16:42:54 +0000 (-0700) Subject: python: obey LDFLAGS X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32364 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7191b6b7503a5a17f93bd61283f22d409c5cb17b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python: obey LDFLAGS Signed-off-by: Christopher Larson --- diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb index 58bccedb8fa..d93bc64dbf0 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' \