--- a/components/sudo/Makefile Tue Mar 14 09:01:51 2017 -0700
+++ b/components/sudo/Makefile Wed Mar 15 15:37:18 2017 -0700
@@ -59,6 +59,9 @@
CONFIGURE_ENV += "MAKE=$(GMAKE)"
CONFIGURE_ENV += "LDFLAGS=$(LDFLAGS)"
+# Compile with OpenLDAP headers
+CONFIGURE_ENV += "CPPFLAGS=-I/usr/include/openldap"
+
CONFIGURE_OPTIONS += --with-ldap
CONFIGURE_OPTIONS += --with-project
CONFIGURE_OPTIONS += --with-rundir=/system/volatile/sudo
@@ -112,6 +115,7 @@
+REQUIRED_PACKAGES += library/openldap
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/security/crypto