]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (link mode) [*-*-sco3.2v5*]: Don't pass through -lc,
authorKean Johnston <jkj@sco.com>
Sat, 5 Nov 2005 11:20:46 +0000 (11:20 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 5 Nov 2005 11:20:46 +0000 (11:20 +0000)
nor add it to deplibs.
[*-*-sysv5*]: Ditto.
[*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus
`$arg'.

ChangeLog
ltmain.in

index d98d1829b950d510c5a991a8c0742910af8c37ec..cff8777ddb5d0e7abcda0874f2b20e919d38a512 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-11-05  Kean Johnston  <jkj@sco.com>,
+           Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * ltmain.in (link mode) [*-*-sco3.2v5*]: Don't pass through -lc,
+       nor add it to deplibs.
+       [*-*-sysv5*]: Ditto.
+       [*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus
+       `$arg'.
+
 2005-11-04  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
        * THANKS: Updated.
index 0f20c96f0c0cb3e8a408cd71db6d3261b4438d37..d33daa3bf2341ee6095dc152af8970752f65a420 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1495,6 +1495,15 @@ EOF
            # Rhapsody C and math libraries are in the System framework
            deplibs="$deplibs -framework System"
            continue
+           ;;
+         *-*-sco3.2v5* | *-*-sco5v6*)
+           # Causes problems with __ctype
+           test "X$arg" = "X-lc" && continue
+           ;;
+         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+           # Compiler inserts libc in the correct place for threads to work
+           test "X$arg" = "X-lc" && continue
+           ;;
          esac
        elif test "X$arg" = "X-lc_r"; then
         case $host in
@@ -3375,7 +3384,12 @@ EOF
            ;;
          *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
            # Do not include libc due to us having libc/libc_r.
-           test "X$arg" = "X-lc" && continue
+           ;;
+         *-*-sco3.2v5* | *-*-sco5v6*)
+           # Causes problems with __ctype
+           ;;
+         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+           # Compiler inserts libc in the correct place for threads to work
            ;;
          *)
            # Add libc to deplibs on all other systems if necessary.