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

ChangeLog
libltdl/config/ltmain.m4sh

index d15c69cf5895757e5354a98fd7e609d6264d0c84..8786122124eff098f0d73a5b4b4ca3e4195079b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-11-05  Kean Johnston  <jkj@sco.com>,
+           Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libltdl/config/ltmain.m4sh (func_mode_link) [*-*-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 0c012de21270cefae3bc438bacd57be9889d9590..498d41c7ebd28c989fd69ef07cbe2b69d4352dc1 100644 (file)
@@ -2613,6 +2613,15 @@ func_mode_link ()
            # Rhapsody C and math libraries are in the System framework
            deplibs="$deplibs System.ltframework"
            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
@@ -4502,8 +4511,13 @@ func_mode_link ()
            ;;
          *-*-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.
            if test "$build_libtool_need_lc" = "yes"; then