ltconfig patch from SuSE. This has been in the SuSE distro for several version
authorpnixon <pnixon>
Tue, 24 Jun 2003 11:03:39 +0000 (11:03 +0000)
committerpnixon <pnixon>
Tue, 24 Jun 2003 11:03:39 +0000 (11:03 +0000)
so it should be stable.

ltconfig
ltmain.sh

index a01334f..cb0f4de 100755 (executable)
--- a/ltconfig
+++ b/ltconfig
@@ -1973,11 +1973,7 @@ linux-gnu*)
   if test -f /lib/ld.so.1; then
     dynamic_linker='GNU ld.so'
   else
-    # Only the GNU ld.so supports shared libraries on MkLinux.
-    case "$host_cpu" in
-    powerpc*) dynamic_linker=no ;;
-    *) dynamic_linker='Linux ld.so' ;;
-    esac
+    dynamic_linker='Linux ld.so'
   fi
   ;;
 
index 7b739c8..dae38d2 100755 (executable)
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -3306,7 +3306,7 @@ extern \"C\" {
            fi
 
            # Try sorting and uniquifying the output.
-           if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
+           if grep -v "^: " < "$nlist" | sort -k 3 | uniq > "$nlist"S; then
              :
            else
              grep -v "^: " < "$nlist" > "$nlist"S