From 3e0efe23833f6277b121b19e85e693737530ec6b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 14 Nov 2007 01:07:39 +0100 Subject: r25945: Fix flags for MacOS X. (This used to be commit b01303b5677b03c1d3cc6f219d4c461726613767) --- source4/lib/replace/libreplace_ld.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/lib/replace') 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 -- cgit