From 2b7ad4767bee4b3867c37bcd15161503a5c78db6 Mon Sep 17 00:00:00 2001 From: Matthew Hancher Date: Tue, 23 Jun 1998 10:31:49 +0000 Subject: [PATCH] Tue Jun 23 06:28:51 1998 Matthew D Hancher * aclocal.m4: added a kluge to get shared libraries to build with gcc under Irix 6.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10602 dc483132-0cff-0310-8789-dd5450dbe970 --- src/aclocal.m4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index e98602e88..df432ee61 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1014,7 +1014,12 @@ mips-sgi-irix*) SHLIBSEXT='.so.$(LIBMAJOR)' SHLIBEXT=.so SHOBJEXT=.o - LDCOMBINE='ld -shared -ignore_unresolved -update_registry $(BUILDTOP)/so_locations -soname lib$(LIB)$(SHLIBSEXT)' + # Kludge follows: + if test "$GCC" = yes; then + LDCOMBINE='ld -n32 -shared -ignore_unresolved -update_registry $(BUILDTOP)/so_locations -soname lib$(LIB)$(SHLIBSEXT)' + else + LDCOMBINE='ld -shared -ignore_unresolved -update_registry $(BUILDTOP)/so_locations -soname lib$(LIB)$(SHLIBSEXT)' + fi SHLIB_EXPFLAGS='-rpath $(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)' # no gprof for Irix... PROFFLAGS=-p -- 2.26.2