[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2206-g85ca2c9

Michael Adam obnox at samba.org
Wed Feb 13 23:14:43 GMT 2008


The branch, v3-2-test has been updated
       via  85ca2c9edb9ac54d3fa18d6b343a73dda1d48040 (commit)
      from  c94538e742e469e4afc6e30d9d99951fda6dd219 (commit)

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


- Log -----------------------------------------------------------------
commit 85ca2c9edb9ac54d3fa18d6b343a73dda1d48040
Author: Michael Adam <obnox at samba.org>
Date:   Thu Feb 14 00:09:17 2008 +0100

    Try and fix the Darwin build with dynamic libs.
    
    Golly gosh, this one took me quite some time to figure out!
    Hopefully, I did not introduce any typos copying...
    
    Michael

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

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


Changeset truncated at 500 lines:

diff --git a/source/configure.in b/source/configure.in
index 9b3f5b9..25f52e4 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -1974,7 +1974,9 @@ DSO_EXPORTS=""
 
 		*darwin*)   AC_DEFINE(DARWINOS,1,[Whether the host os is Darwin/MacOSX])
 			BLDSHARED="true"
-			LDSHFLAGS="-bundle -flat_namespace -undefined suppress"
+			LDSHFLAGS="-dynamiclib -flat_namespace -undefined suppress"
+			CFLAGS="$CFLAGS -fno-common"
+			SHLD="\${CC}"
 			SHLIBEXT="dylib"
                         MODULE_EXPORTS="-exported_symbols_list \$(srcdir)/exports/modules-darwin.syms"
                         SHLIBEXT="dylib"


-- 
Samba Shared Repository


More information about the samba-cvs mailing list