summaryrefslogtreecommitdiffstats
path: root/source3/configure.in
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-04-01 01:34:01 +0200
committerMichael Adam <obnox@samba.org>2009-04-01 10:41:33 +0200
commitbaf39de623d39dba6fe0bfed899f9b232f9c1266 (patch)
tree9d297bba9bad5a00880b7f83c7266e9b42ba90be /source3/configure.in
parentf9eb77477b82740814e6143837d8a70f8090b9a5 (diff)
downloadsamba-baf39de623d39dba6fe0bfed899f9b232f9c1266.tar.gz
samba-baf39de623d39dba6fe0bfed899f9b232f9c1266.tar.xz
samba-baf39de623d39dba6fe0bfed899f9b232f9c1266.zip
s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@
just like for the libs configured with SMB_LIBRARY(). This makes @LIBWBCLIENT_STATIC@ vanish from the object collections. Michael
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 0850bf5a7f2..bfa8250a319 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -116,6 +116,7 @@ AC_SUBST(LIBWBCLIENT_SHARED_TARGET)
AC_SUBST(LIBWBCLIENT_SHARED)
AC_SUBST(LIBWBCLIENT_STATIC_TARGET)
AC_SUBST(LIBWBCLIENT_STATIC)
+AC_SUBST(LIBWBCLIENT_TARGET)
AC_SUBST(LIBWBCLIENT_SOVER)
AC_SUBST(LIBWBCLIENT)
AC_SUBST(WINBIND_LIBS)
@@ -5861,12 +5862,15 @@ else
## Only worry about libwbclient if we have shared
# library support
LIBWBCLIENT_SHARED=$LIBWBCLIENT_SHARED_TARGET
+ LIBWBCLIENT_TARGET=$LIBWBCLIENT_SHARED_TARGET
LIBWBCLIENT=libwbclient
INSTALL_LIBWBCLIENT=installlibwbclient
UNINSTALL_LIBWBCLIENT=uninstalllibwbclient
WINBIND_LIBS="-lwbclient"
else
LIBWBCLIENT_STATIC=$LIBWBCLIENT_STATIC_TARGET
+ LIBWBCLIENT_TARGET=$LIBWBCLIENT_STATIC_TARGET
+ WINBIND_LIBS=$LIBWBCLIENT_STATIC_TARGET
fi
fi