diff --git a/acinclude.m4 b/acinclude.m4 index a1aa58228..204cb5d94 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -142,7 +142,7 @@ AC_DEFUN(SANE_LINKER_RPATH, AC_CACHE_CHECK([linker parameter to set runtime link path], LINKER_RPATH, [LINKER_RPATH= case "$host_os" in - linux* | freebsd* | netbsd* | openbsd*) + linux* | freebsd* | netbsd* | openbsd* | irix*) # I believe this only works with GNU ld [pere 2001-04-16] LINKER_RPATH="-Wl,-rpath," ;; diff --git a/aclocal.m4 b/aclocal.m4 index c84a86ff5..9695390af 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -154,7 +154,7 @@ AC_DEFUN(SANE_LINKER_RPATH, AC_CACHE_CHECK([linker parameter to set runtime link path], LINKER_RPATH, [LINKER_RPATH= case "$host_os" in - linux* | freebsd* | netbsd* | openbsd*) + linux* | freebsd* | netbsd* | openbsd* | irix*) # I believe this only works with GNU ld [pere 2001-04-16] LINKER_RPATH="-Wl,-rpath," ;;