All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libtool: Ensure the paths to sed are not hardcoded
@ 2012-10-11 10:02 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-10-11 10:02 UTC (permalink / raw)
  To: openembedded-core

If you:

bitbake sed-native
bitbake libtool-cross

then libtool-cross has SED="/path/to/sysroot/sed" which is incorrect. If that
is reused from sstate or sed-native is cleaned, the build will fail.

This patch simply sets sed to be "sed" since we're not on systems where
the sed from PATH is broken.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-devtools/libtool/libtool-2.4.2.inc b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
index 95e12a2..12a783a 100644
--- a/meta/recipes-devtools/libtool/libtool-2.4.2.inc
+++ b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
@@ -25,6 +25,9 @@ SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
 SRC_URI[md5sum] = "d2f3b7d4627e69e13514a40e72a24d50"
 SRC_URI[sha256sum] = "b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918"
 
+# Don't want paths to sed-native (or anything else) encoded
+CACHED_CONFIGUREVARS += "ac_cv_path_SED=sed"
+
 do_compile_prepend () {
 	# Sometimes this file doesn't get rebuilt, force the issue
 	rm -f ${S}/libltdl/config/ltmain.sh





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-11 10:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-11 10:02 [PATCH] libtool: Ensure the paths to sed are not hardcoded Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.