summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-23 12:45:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-23 12:57:31 +0000
commita1226175c405db6eacb6e490e8e635b9dd156126 (patch)
tree65d156617cf1a4f7a7be44b347349c9ffc750014 /meta/recipes-extended/sudo
parenta6b186a1a5cfc6ae9c099af0ed4217d91f5d4ef3 (diff)
downloadopenembedded-core-a1226175c405db6eacb6e490e8e635b9dd156126.tar.gz
openembedded-core-a1226175c405db6eacb6e490e8e635b9dd156126.tar.bz2
openembedded-core-a1226175c405db6eacb6e490e8e635b9dd156126.zip
sudo: Fix out of tree builds ${B} != ${S}
The last change to sudo broke out of tree builds, fix this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index 9427b570a8..e778485838 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -23,7 +23,7 @@ do_configure_prepend () {
# mksigname/mksiglist are used on build host to generate source files
do_compile_prepend () {
- oe_runmake CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I../include -I../" -C compat mksigname mksiglist
+ oe_runmake CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C compat mksigname mksiglist
}
# Explicitly create ${localstatedir}/lib before do_install to ensure