summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-14 01:07:39 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:12 +0100
commit3e0efe23833f6277b121b19e85e693737530ec6b (patch)
tree14d10a04b670b461ad47138b792abd29841ece2e /source4
parent0969ac9e6189d1b990ca86b7611341fe6a404b5e (diff)
downloadsamba-3e0efe23833f6277b121b19e85e693737530ec6b.tar.gz
samba-3e0efe23833f6277b121b19e85e693737530ec6b.tar.bz2
samba-3e0efe23833f6277b121b19e85e693737530ec6b.zip
r25945: Fix flags for MacOS X.
(This used to be commit b01303b5677b03c1d3cc6f219d4c461726613767)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/replace/libreplace_ld.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace_ld.m4 b/source4/lib/replace/libreplace_ld.m4
index a8bc22cb5b..04a472df4c 100644
--- a/source4/lib/replace/libreplace_ld.m4
+++ b/source4/lib/replace/libreplace_ld.m4
@@ -67,6 +67,7 @@ case "$host_os" in
PICFLAG="-KPIC"
;;
*darwin*)
+ PICFLAG="-fno-common"
;;
esac
AC_SUBST(PICFLAG)
@@ -166,7 +167,7 @@ AC_DEFUN([AC_LD_SONAMEFLAG],
SONAMEFLAG="-Wl,-soname,"
;;
*darwin*)
- SONAMEFLAG="-install_name "
+ SONAMEFLAG="-compatibility_version "
;;
*aix*)
# Not supported