diff options
author | Michael Adam <obnox@samba.org> | 2008-02-14 00:09:17 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-02-14 00:09:23 +0100 |
commit | 85ca2c9edb9ac54d3fa18d6b343a73dda1d48040 (patch) | |
tree | ce2650392abd751bb055220b3e9bfab123433a49 /source/configure.in | |
parent | c94538e742e469e4afc6e30d9d99951fda6dd219 (diff) | |
download | samba-85ca2c9edb9ac54d3fa18d6b343a73dda1d48040.tar.gz samba-85ca2c9edb9ac54d3fa18d6b343a73dda1d48040.tar.xz samba-85ca2c9edb9ac54d3fa18d6b343a73dda1d48040.zip |
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
Diffstat (limited to 'source/configure.in')
-rw-r--r-- | source/configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/configure.in b/source/configure.in index 9b3f5b9e3a7..25f52e484ac 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" |