* 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
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