Link GSS mechanics modules against libgssapi so they will not fail due

unresolved symbol errors when in turn libgssapi was loaded with RTLD_LOCAL
flag set (which is the default).

Reviewed by:	dfr, jhb
MFC after:	3 days
This commit is contained in:
Alexander Nedotsukov 2009-10-12 17:10:51 +00:00
parent 8b5adf9dd9
commit e62aa473c5
2 changed files with 4 additions and 4 deletions

View File

@ -2,8 +2,8 @@
LIB= gssapi_krb5
LDFLAGS= -Wl,-Bsymbolic
LDADD= -lkrb5 -lhx509 -lcrypto -lroken -lasn1 -lcom_err -lcrypt
DPADD= ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBROKEN} ${LIBASN1} \
LDADD= -lgssapi -lkrb5 -lhx509 -lcrypto -lroken -lasn1 -lcom_err -lcrypt
DPADD= ${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBROKEN} ${LIBASN1} \
${LIBCOM_ERR} ${LIBCRYPT}
INCS= ${KRB5DIR}/lib/gssapi/gssapi/gssapi_krb5.h

View File

@ -2,8 +2,8 @@
LIB= gssapi_spnego
LDFLAGS= -Wl,-Bsymbolic
LDADD= -lasn1
DPADD= ${LIBASN1}
LDADD= -lgssapi -lasn1
DPADD= ${LIBGSSAPI} ${LIBASN1}
SRCS= accept_sec_context.c \
compat.c \