[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2189-gec79357

Michael Adam obnox at samba.org
Wed Feb 13 12:49:12 GMT 2008


The branch, v3-2-test has been updated
       via  ec793572187228deda7210dab02882e4e09f1972 (commit)
      from  e3435930a307cff3066fe2047ed8c5c48911f001 (commit)

http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit ec793572187228deda7210dab02882e4e09f1972
Author: Michael Adam <obnox at samba.org>
Date:   Wed Feb 13 13:48:00 2008 +0100

    Add -L./bin to LDFLAGS when building shared libs.
    
    Formerly this was only needed for libwbclient, but now that we start
    using more shared libs internally, this is needed more globally
    to support linking internal libs dynamically on systemy without winbindd.
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/configure.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/configure.in b/source/configure.in
index f3187aa..cde3c0b 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -1996,6 +1996,10 @@ if test "$enable_shared" = yes -a "${ac_cv_gnu_ld_version_script}" = yes; then
 	DSO_EXPORTS=\$\(DSO_EXPORTS_CMD\)
 fi
 
+if test x"$BLDSHARED" = x"true" ; then
+	LDFLAGS="$LDFLAGS -L./bin"
+fi
+
 AC_MSG_RESULT($BLDSHARED)
 
 AC_MSG_CHECKING([LDFLAGS])
@@ -6284,7 +6288,6 @@ if test $BLDSHARED = true -a x"$HAVE_WINBIND" = x"yes" -a x"$BUILD_LIBWBCLIENT_S
 	INSTALL_LIBWBCLIENT=installlibwbclient
 	UNINSTALL_LIBWBCLIENT=uninstalllibwbclient
 	WINBIND_LIBS="-lwbclient"
-	LDFLAGS="$LDFLAGS -L./bin"
 else
 	LIBWBCLIENT_STATIC=bin/libwbclient.a
 fi


-- 
Samba Shared Repository


More information about the samba-cvs mailing list