summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index 7721cd57a1..9427b570a8 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -21,6 +21,11 @@ do_configure_prepend () {
21 fi 21 fi
22} 22}
23 23
24# mksigname/mksiglist are used on build host to generate source files
25do_compile_prepend () {
26 oe_runmake CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I../include -I../" -C compat mksigname mksiglist
27}
28
24# Explicitly create ${localstatedir}/lib before do_install to ensure 29# Explicitly create ${localstatedir}/lib before do_install to ensure
25# the directory is accessible by all users. Otherwise the mkinstalldirs 30# the directory is accessible by all users. Otherwise the mkinstalldirs
26# script (from sudo) will recursively create ${localstatedir}/lib/sudo 31# script (from sudo) will recursively create ${localstatedir}/lib/sudo