From 8811aa1376b44e1d43c4e428ed0c8d3d405c88fa Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 20 May 2009 08:39:45 +0200 Subject: [PATCH] Only build the krb5 locator when building shared libs --- source3/configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/configure.in b/source3/configure.in index 0393a75b501..e505253a522 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3327,7 +3327,9 @@ if test x"$with_ads_support" != x"no"; then AC_CHECK_HEADERS(krb5/locate_plugin.h) if test x"$ac_cv_header_krb5_locate_plugin_h" = x"yes"; then WINBIND_KRB5_LOCATOR="bin/winbind_krb5_locator.$SHLIBEXT" - EXTRA_ALL_TARGETS="$EXTRA_ALL_TARGETS $WINBIND_KRB5_LOCATOR" + if test x"$BLDSHARED" = x"true" ; then + EXTRA_ALL_TARGETS="$EXTRA_ALL_TARGETS $WINBIND_KRB5_LOCATOR" + fi fi fi