From: Volker Lendecke Date: Wed, 20 May 2009 06:39:45 +0000 (+0200) Subject: Only build the krb5 locator when building shared libs X-Git-Tag: tdb-1.1.5~471 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8811aa1376b44e1d43c4e428ed0c8d3d405c88fa;p=thirdparty%2Fsamba.git Only build the krb5 locator when building shared libs --- 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