611ff617cf
kerberos libraries were not linked properly (missing dependencies), which causes 3rd party applications linking to fail when --as-needed ld flag is used. I also added the --no-undefined ld(1) flag to make sure that there're no missing dependencies. MFC after: 3 days
15 lines
290 B
Makefile
15 lines
290 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= heimntlm
|
|
LDFLAGS= -Wl,--no-undefined
|
|
LDADD= -lcrypto -lkrb5
|
|
DPADD= ${LIBCRYPTO} ${LIBKRB5}
|
|
SRCS= ntlm.c
|
|
INCS= heimntlm.h heimntlm-protos.h
|
|
CFLAGS+=-I${KRB5DIR}/lib/ntlm
|
|
VERSION_MAP= ${KRB5DIR}/lib/ntlm/version-script.map
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.PATH: ${KRB5DIR}/lib/ntlm
|