diff options
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r-- | libjava/configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac index 9a9d1fd..ddda4e8 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -1247,7 +1247,16 @@ else # On Solaris, and maybe other architectures, the Boehm collector # requires -ldl. if test "$GC" = boehm; then - AC_CHECK_LIB(dl, main, SYSTEMSPEC="$SYSTEMSPEC -ldl") + case "${host}" in + mips-sgi-irix6*) + # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib) + # libgcj.spec is used, so override here + SYSTEMSPEC="$SYSTEMSPEC %{!mabi=64:-ldl}" + ;; + *) + AC_CHECK_LIB(dl, main, SYSTEMSPEC="$SYSTEMSPEC -ldl") + ;; + esac fi fi |