20549448 OpenSSH X86 server core dump at audit_event
authorgww <gary.winiger@oracle.com>
Fri, 15 May 2015 17:20:22 -0700
changeset 4299 ad1558a13bcc
parent 4298 aa030c46708c
child 4300 00611d7781fb
20549448 OpenSSH X86 server core dump at audit_event
components/sudo/Makefile
--- a/components/sudo/Makefile	Fri May 15 14:07:20 2015 -0700
+++ b/components/sudo/Makefile	Fri May 15 17:20:22 2015 -0700
@@ -48,7 +48,8 @@
 CONFIGURE_ENV +=	"CFLAGS=$(CFLAGS)"
 CONFIGURE_ENV +=	"CXX=$(CXX)"
 CONFIGURE_ENV +=	"MAKE=$(GMAKE)"
-CONFIGURE_ENV +=	"LDFLAGS=$(LDFLAGS) -m64"
+CONFIGURE_ENV +=	"CPPFLAGS=$(CPPFLAGS) -I/usr/include/openldap"
+CONFIGURE_ENV +=	"LDFLAGS=$(LDFLAGS) -m64 -lldap_r-2.4"
 
 CONFIGURE_OPTIONS +=	--with-ldap
 CONFIGURE_OPTIONS +=	--with-project
@@ -105,5 +106,6 @@
 
 
 REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += library/openldap
 REQUIRED_PACKAGES += system/library
 REQUIRED_PACKAGES += system/library/security/crypto