variable instead of by updating LIBS at configure time.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19276
dc483132-0cff-0310-8789-
dd5450dbe970
$(GSSRPC_DEPLIBS) \
$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
$(TOPLIBD)/libkrb5$(SHLIBEXT)
-SHLIB_EXPLIBS= $(GSSRPC_LIBS) -lkrb5 -lcom_err -lk5crypto $(KDB5_DB_LIB) $(SUPPORT_LIB) $(LIBS)
+SHLIB_EXPLIBS= $(GSSRPC_LIBS) -lkrb5 -lcom_err -lk5crypto $(KDB5_DB_LIB) $(SUPPORT_LIB) $(LIBS) @DB_EXTRA_LIBS@
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
dnl it is linked again later.
case $krb5_cv_host in
*-*-aix*)
- LIBS="$LIBS -ldb"
+ DB_EXTRA_LIBS=-ldb
+ ;;
+*)
+ DB_EXTRA_LIBS=
;;
esac
+AC_SUBST(DB_EXTRA_LIBS)
KRB5_RUN_FLAGS
dnl The following is for check...
KRB5_BUILD_PROGRAM