summaryrefslogtreecommitdiffstats
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
parent0969ac9e6189d1b990ca86b7611341fe6a404b5e (diff)
downloadsamba-3e0efe23833f6277b121b19e85e693737530ec6b.tar.gz
samba-3e0efe23833f6277b121b19e85e693737530ec6b.tar.xz
samba-3e0efe23833f6277b121b19e85e693737530ec6b.zip
r25945: Fix flags for MacOS X.
(This used to be commit b01303b5677b03c1d3cc6f219d4c461726613767)
-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 a8bc22cb5be..04a472df4c5 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