From fffeb871a114219c8aa729064632af142b1bf6c6 Mon Sep 17 00:00:00 2001
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Date: Mon, 6 Oct 2003 15:13:13 +0000
Subject: [PATCH] ltcf-cxx.sh (irix5*, irix6*): Prefix -soname and its arg with
 ${wl}.

	* ltcf-cxx.sh (irix5*, irix6*): Prefix -soname and its arg with ${wl}.
	* ltconfig (irix5*, irix6*): Don't override version_type.

From-SVN: r72152
---
 ChangeLog   | 5 +++++
 ltcf-cxx.sh | 2 +-
 ltconfig    | 1 -
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b658ce4616ea..b896faa42efe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+	* ltcf-cxx.sh (irix5*, irix6*): Prefix -soname and its arg with ${wl}.
+	* ltconfig (irix5*, irix6*): Don't override version_type.
+
 2003-10-05  Mohan Embar  <gnustuff@thisiscool.com>
 
 	* configure.in: Allow explicit specification of CFLAGS_FOR_BUILD.
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index 9059b1a002f1..3044fc39bd27 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -326,7 +326,7 @@ case $host_os in
           if test "$with_gnu_ld" = no; then
             archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
           else
-            archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib'
+            archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo -set_version $verstring` -o $lib'
           fi
         fi
         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
diff --git a/ltconfig b/ltconfig
index 289293c56624..7ed24bc0a6df 100755
--- a/ltconfig
+++ b/ltconfig
@@ -1191,7 +1191,6 @@ irix5* | irix6*)
   else
     version_type=irix
   fi
-  version_type=irix
   need_lib_prefix=no
   need_version=no
   soname_spec='${libname}${release}.so$major'
-- 
GitLab