Make it buildable with WITH_OPENLDAP, again.
MFC after: 1 week
This commit is contained in:
parent
2c51488ec8
commit
34d2e76a64
@ -13,7 +13,8 @@ OPENLDAPBASE?= /usr/local
|
||||
LDAPLDADD= -lldap -llber
|
||||
LDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;}
|
||||
LDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1 -DLDAP_DEPRECATED=1
|
||||
LDAPLDFLAGS= -L${OPENLDAPBASE}/lib -Wl,-rpath,${OPENLDAPBASE}/lib
|
||||
LDAPLDFLAGS= -L${OPENLDAPBASE}/lib -rpath ${OPENLDAPBASE}/lib
|
||||
LDFLAGS+= ${LDAPLDFLAGS}
|
||||
.endif
|
||||
|
||||
.if defined(SRCS)
|
||||
|
@ -1,9 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
LIB= hdb
|
||||
LDFLAGS= -Wl,--no-undefined
|
||||
LDFLAGS= -Wl,--no-undefined ${LDAPLDFLAGS}
|
||||
VERSION_MAP= ${KRB5DIR}/lib/hdb/version-script.map
|
||||
LIBADD= asn1 com_err krb5 roken sqlite3
|
||||
LDADD= ${LDAPLDADD}
|
||||
DPADD= ${LDAPDPADD}
|
||||
|
||||
MAN= HDB.3 hdb_entry_ex.3
|
||||
|
Loading…
Reference in New Issue
Block a user