aboutsummaryrefslogtreecommitdiff
path: root/src/aclocal.m4
diff options
context:
space:
mode:
authorMatthew Hancher <mdh@mit.edu>1998-06-23 10:31:49 +0000
committerMatthew Hancher <mdh@mit.edu>1998-06-23 10:31:49 +0000
commit2b7ad4767bee4b3867c37bcd15161503a5c78db6 (patch)
tree995041e5e61e5dd01ec55266eaaa4ec25d66722d /src/aclocal.m4
parent1b1791322c75c266cfba6ac77f5daf0d2954e569 (diff)
downloadkrb5-2b7ad4767bee4b3867c37bcd15161503a5c78db6.zip
krb5-2b7ad4767bee4b3867c37bcd15161503a5c78db6.tar.gz
krb5-2b7ad4767bee4b3867c37bcd15161503a5c78db6.tar.bz2
Tue Jun 23 06:28:51 1998 Matthew D Hancher <mdh@mit.edu>
* 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
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r--src/aclocal.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index e98602e..df432ee 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