summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/replace/libreplace_ld.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace_ld.m4 b/source4/lib/replace/libreplace_ld.m4
index e78450bc1b..cef0089cd1 100644
--- a/source4/lib/replace/libreplace_ld.m4
+++ b/source4/lib/replace/libreplace_ld.m4
@@ -78,6 +78,19 @@ esac
AC_SUBST(PICFLAG)
])
+AC_DEFUN([AC_LIBREPLACE_SHLD],
+[
+ SHLD="${CC}"
+
+ case "$host_os" in
+ *irix*)
+ SHLD="${PROG_LD}"
+ ;;
+ esac
+
+ AC_SUBST(SHLD)
+])
+
AC_DEFUN([AC_LIBREPLACE_SHLD_FLAGS],
[
SHLD_FLAGS="-shared"