diff options
author | 2013-03-23 12:45:51 +0000 | |
---|---|---|
committer | 2013-03-23 12:57:31 +0000 | |
commit | a1226175c405db6eacb6e490e8e635b9dd156126 (patch) | |
tree | 65d156617cf1a4f7a7be44b347349c9ffc750014 /meta | |
parent | a6b186a1a5cfc6ae9c099af0ed4217d91f5d4ef3 (diff) | |
download | openembedded-core-contrib-a1226175c405db6eacb6e490e8e635b9dd156126.tar.gz |
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')
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 2 |
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 |