diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/sudo/sudo.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk index 71dacecb7..e6b554c49 100644 --- a/package/sudo/sudo.mk +++ b/package/sudo/sudo.mk @@ -18,7 +18,9 @@ SUDO_CONF_OPT = \ # mksigname/mksiglist needs to run on build host to generate source files define SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST - $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)/compat mksigname mksiglist + $(MAKE) $(HOST_CONFIGURE_OPTS) \ + CPPFLAGS="$(HOST_CPPFLAGS) -I../include -I.." \ + -C $(@D)/compat mksigname mksiglist endef SUDO_POST_CONFIGURE_HOOKS += SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST |