Move setting of LDFLAGS to the modules which require it actually, as
other kerberos5 modules do so.
This commit is contained in:
parent
2640322a2e
commit
7525abf811
@ -14,7 +14,6 @@ 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 -rpath ${OPENLDAPBASE}/lib
|
||||
LDFLAGS+= ${LDAPLDFLAGS}
|
||||
.endif
|
||||
|
||||
.if defined(SRCS)
|
||||
|
@ -9,6 +9,7 @@ CFLAGS+= -I${KRB5DIR}/kdc \
|
||||
-I${KRB5DIR}/lib/wind \
|
||||
-I${KRB5DIR}/lib/roken
|
||||
LIBADD= hdb kdc heimipcs krb5 roken asn1 crypto vers heimntlm
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -11,6 +11,7 @@ SRCS= config.c \
|
||||
CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/kdc ${LDAPCFLAGS}
|
||||
LIBADD= kdc hdb krb5 roken crypt vers
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
PROG= kpasswd
|
||||
CFLAGS+=-I${KRB5DIR}/lib/roken
|
||||
LIBADD= hdb krb5 roken vers crypto
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -9,6 +9,7 @@ CFLAGS+= -I${KRB5DIR}/lib/kadm5 \
|
||||
-I${KRB5DIR}/lib/sl \
|
||||
-I.
|
||||
LIBADD= kadm5srv hdb krb5 roken edit sl vers
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
iprop-commands.h: iprop-commands.in
|
||||
${SLC} ${.ALLSRC:M*.in}
|
||||
|
Loading…
Reference in New Issue
Block a user