summaryrefslogtreecommitdiff
path: root/source3/lib/replace/libreplace_ld.m4
diff options
context:
space:
mode:
authorjelmer <jelmer@0c0555d6-39d7-0310-84fc-f1cc0bd64818>2007-11-06 18:25:34 +0000
committerStefan Metzmacher <metze@samba.org>2007-11-09 09:30:28 +0100
commit2c50c6143b5adec4067ebcc81e2d40b47d00cde9 (patch)
treeaebc149feb37016aa349a14e60503ac10c993963 /source3/lib/replace/libreplace_ld.m4
parentc0511ba7d3261855737a07b21f3d7851e9f07a1f (diff)
downloadsamba-2c50c6143b5adec4067ebcc81e2d40b47d00cde9.tar.gz
samba-2c50c6143b5adec4067ebcc81e2d40b47d00cde9.tar.bz2
samba-2c50c6143b5adec4067ebcc81e2d40b47d00cde9.zip
Try to get some more flags right.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit ccb39b18448376b094680fa927c60159cc5ec566)
Diffstat (limited to 'source3/lib/replace/libreplace_ld.m4')
-rw-r--r--source3/lib/replace/libreplace_ld.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/replace/libreplace_ld.m4 b/source3/lib/replace/libreplace_ld.m4
index c276a7a864..8147e692ec 100644
--- a/source3/lib/replace/libreplace_ld.m4
+++ b/source3/lib/replace/libreplace_ld.m4
@@ -8,7 +8,7 @@ else
hpux* )
LD_EXPORT_DYNAMIC="-Wl,-E"
;;
- * )
+ *)
LD_EXPORT_DYNAMIC=""
;;
esac
@@ -101,7 +101,7 @@ AC_DEFUN([AC_LD_SHLDFLAGS],
SHLD_FLAGS="-b -Wl,-B,symbolic,-b,-z"
;;
*darwin*)
- SHLD_FLAGS="-bundle -flat_namespace -undefined suppress"
+ SHLD_FLAGS="-dynamiclib"
;;
esac
@@ -150,7 +150,7 @@ AC_DEFUN([AC_LD_SONAMEFLAG],
SONAMEFLAG="-Wl,-soname,"
;;
*irix*)
- SONAMEFLAG="-soname "
+ SONAMEFLAG="-Wl,-soname,"
;;
*hpux*)
SONAMEFLAG="-Wl,+h "
@@ -162,7 +162,7 @@ AC_DEFUN([AC_LD_SONAMEFLAG],
SONAMEFLAG="-Wl,-soname,"
;;
*darwin*)
- SONAMEFLAG="-Wl,-soname,"
+ SONAMEFLAG="-install_name "
;;
esac
])