summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index f8e54f13b1..030a273480 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -18,7 +18,7 @@ AC_SUBST(PICFLAG)
AC_SUBST(PICSUFFIX)
AC_SUBST(POBAD_CC)
AC_SUBST(SHLIBEXT)
-AC_SUBST(BLDSHARED)
+AC_SUBST(LIBSMBCLIENT_SHARED)
# compile with optimisation and without debugging by default
CFLAGS="-O ${CFLAGS}"
@@ -739,6 +739,13 @@ case "$host_os" in
;;
esac
+# this updates our target list if we can build shared libs
+if test $BLDSHARED = true; then
+ LIBSMBCLIENT_SHARED=bin/libsmbclient.$SHLIBEXT
+else
+ LIBSMBCLIENT_SHARED=
+fi
+
################
AC_CACHE_CHECK([for long long],samba_cv_have_longlong,[